MVLib - Short Writeup - Version 4.0
Example Number 22 - How to produce a simple 1-d plot with different curves
This example shows how to produce several curves on the same plots. with different vectors of data. Each call to plottavw produce a single curve.
The source code to produce these plots is available here, the complete script running the code is available here.
Previous Example MVLib Home Page Next Example
	parameter (n=100)
	real x(n),y1(n),y2(n)
	do i=1,n
	   x(i)=100+i
	   y1(i)=sqrt(float(i))+1
	   y2(i)=sqrt(float(i))
	enddo
	call mvsetflags('Palette di Colori',8.0)
	call mvsetflags('Colore Sfondo',1.0)
	call mvsetflags('Colore Sfondo Plot',5.0)
	call mvsetflags('Size delle linee',2.0)
	call mvsetflags('Colore Plotta', 6.0)
	call plottavw(x,y1,n,'curva 1')
	call mvsetflags('Colore Plotta',24.0)
	call plottavw(x,y2,n,'curva 2')
	call displayexample('example22','Example 22','MVLib Software')
	end