|Function||Draws a Cartesian coordinate system and plots two Y-vectors, taking the index as the X-axis.|
|Syntax C/C++||#include <Vgraph.h>
void VF_y2AutoPlot( fVector Y1, ui size1, unsigned form1, COLORREF color1, fVector Y2, ui size2, unsigned form2, COLORREF color2 );
|C++ VecObj||#include <OptiVec.h>
void vector<T>::y2AutoPlot( unsigned form1, COLORREF color1, const vector<T>& Y2, unsigned form2, COLORREF color2 );
procedure VF_y2AutoPlot( Y1:fVector; size1:UIntSize; form1:UInt; color1:COLORREF; Y2:fVector; size2:UIntSize; form2:UInt; color2:COLORREF );
|Description||A Cartesian coordinate system is automatically scaled and drawn. Each element of the vectors Y1 and Y2 is plotted at the X-position given by its index. For a description of the parameters form1, form2, and color1, color2, see VF_xyAutoPlot. The plotting routines have to be initialized by V_initGraph or V_initPlot prior to calling VF_yAutoPlot.
The VecObj version of this function has to be called as a member function of Y1.
VectorLib Table of Contents OptiVec home