eplot

make linear plot

Synopsis

eplot ([xData,[yData,[legendText,[dash,[color[,width]]]]]])

Parameter(s)

xData :

vector of x-data

or matrix(2xn) of x0,x1-data to plot lines

yData :

vector of y-data

or matrix(2xn) of y0,y1-data to plot lines

legendText :

text of legend, if empty string then no legend

dash :

if a scalar and

dash=0 solid plot line,

dash>0 dash length

dash<0 fill plot line with color

default: dash=eLineDash

if a vector with size 1xn, then dash describes

a dash combination [space lineLength1 lineLength2 ...]

if a string then dash is a name of symbol

if a matrix and color=-1

dash is the image of plot

and filled with RGB values

(value=R*2^16+G*2^8+B and R,G,B are integer of 0:255)

if a matrix and color is a colormap

dash is the image of plot

and filled with indices of colormap

if a string dash is filename of a JPEG-file

color :

if dash>=0 vector of plot color ([r g b])

if dash<0 vector of background color

if dash a matrix then colormap of image or -1

default: dash=eLineColor

width :

width of plot line

Important: :

eplot without parameters closes the current plot explicit.

it’s useful for several plot on one page

Global Parameter(s)

  • ePlotAreaPos
  • ePlotAreaWidth
  • ePlotAreaHeight
  • eXAxisSouthScale
  • eYAxisWestScale
  • ePlotAreaXValueStart
  • ePlotAreaXValueEnd
  • ePlotAreaYValueStart
  • ePlotAreaYValueEnd
  • ePlotLineInterpolation
  • ePlotLineWidth
  • ePlotLineColor;
  • ePlotLineDash;
  • ePlotLegendPos;
  • ePlotLegendTextFont
  • ePlotLegendFontSize
  • ePlotLegendDistance
  • eAxesColor
Close