sfstdplot (stdplot.c 6041 2010-05-24 21:44:53Z sfomel)
index
plot/lib/stdplot.c
Setting up frames for a generic plot.

 
Synopsis
        sfstdplot xreverse=xreverse1 yreverse=yreverse1 pad=pad1 scalebar=n min1=umin1 min2=umin2 max1=umax1 max2=umax2 font=-1 screenratio=VP_SCREEN_RATIO screenht=VP_STANDARD_HEIGHT screenwd=screenht / screenratio crowd=0.75 xinch= crowd1=crowd yinch= crowd2=crowd xll= xur= yll= yur= barwidth=0.36 axiscol=VP_WHITE framelabelcol=VP_YELLOW cubelinecol=VP_WHITE labelsz=8. labelrot=n grid1=transp? false: grid grid2=transp? grid: false gridcol=grid? VP_RED: framecol gridfat=1 titlesz=10. barlabelsz= framelabel1=(bool) (NULL != label1) framelabel2=(bool) (NULL != label2) framelabel3=(bool) (NULL != label3) cubelinecol=framelabelcol wantaxis= wantaxis1= wantaxis2= wantaxis3= labelfat= n1tic= d1num= o1num= n2tic= d2num= o2num= n3tic= d3num= o3num= n4tic= d4num= o4num= grid1= g1num0= g1num= grid2= g2num0= g2num= barlabelfat= barlabel= barunit= bartype= wherexlabel= label3= unit3= whereylabel= formatbar= format2= wherebartics= format1= format3= wheretics= wheretitle= title= wherebarlabel=

 
Parameters
       
 
int axiscol=VP_WHITE
axes color
 
string barlabel=
( barlabel bar label )(bar label)
 
int barlabelfat=
bar label fatness
 
float barlabelsz=
bar label font size
 
string bartype=
[v,h] vertical or horizontal bar (default is v)
 
string barunit=
( barunit bar unit )(bar unit)
 
float barwidth=0.36
scale bar size
 
float crowd=0.75
window size as ratio of the total area
 
float crowd1=crowd
window width as ratio of the screen width
 
float crowd2=crowd
window height as ratio of the screen height
 
int cubelinecol=framelabelcol

 
float d1num=
axis1 tic increment
 
float d2num=
axis2 tic increment
 
float d3num=
axis3 tic increment
 
float d4num=
axis4 tic increment
 
int font=-1
font to use in text
 
string format1=
tick mark format
 
string format2=
tickmark format ()
 
string format3=
tickmark format
 
string formatbar=
format for ticmark labels in the scalebar
 
bool framelabel1=(bool) (NULL != label1) [y/n]
to put numbers at frame ends
 
bool framelabel2=(bool) (NULL != label2) [y/n]
to put numbers at frame ends
 
bool framelabel3=(bool) (NULL != label3) [y/n]
to put numbers at frame ends
 
int framelabelcol=VP_YELLOW
frame labels color
 
float g1num=
grid mark sampling on first axis
 
float g1num0=
grid mark origin on first axis
 
float g2num=
grid mark sampling on second axis
 
float g2num0=
grid mark origin on second axis
 
string grid1=
to draw grid on first axis
 
bool grid2= [y/n]
to draw grid on second axis
 
int gridcol=grid? VP_RED: framecol
grid color
 
int gridfat=1
grid fatness
 
string label3=

 
int labelfat=
label fatness
 
bool labelrot=n [y/n]
if rotate vertical label
 
float labelsz=8.
label size
 
float max1=umax1
maximum on the first axis
 
float max2=umax2
maximum on the second axis
 
float min1=umin1
minimum on the first axis
 
float min2=umin2
minimum on the second axis
 
int n1tic=
axis1 number of ticmarks
 
int n2tic=
axis2 number of ticmarks
 
int n3tic=
axis3 number of ticmarks
 
int n4tic=
axis4 number of ticmarks
 
float o1num=
axis1 tic origin
 
float o2num=
axis2 tic origin
 
float o3num=
axis3 tic origin
 
float o4num=
axis4 tic origin
 
bool pad=pad1 [y/n]
pad plotting area
 
bool scalebar=n [y/n]
plot a scalebar
 
float screenht=VP_STANDARD_HEIGHT
screen height (in "inches")
 
float screenratio=VP_SCREEN_RATIO
ratio of screen height to screen width
 
float screenwd=screenht / screenratio
screen width (in "inches")
 
string title=

 
float titlesz=10.
title font size
 
string unit3=

 
bool wantaxis= [y/n]
if draw axes
 
bool wantaxis1= [y/n]
if draw first axis
 
bool wantaxis2= [y/n]
if draw second axis
 
bool wantaxis3= [y/n]
if draw third axis in cube plots
 
string wherebarlabel=
where to put bar label (top,bottom,left,right)
 
string wherebartics=

 
string wheretics=

 
string wheretitle=
where to put title (top,bottom,left,right)
 
string wherexlabel=
where to put horizontal axis (top,bottom)
 
string whereylabel=
where to put vertical label (left,right)
 
float xinch=
window width as ratio of the screen width
 
float xll=
lower left horizontal coordinate
 
bool xreverse=xreverse1 [y/n]
reverse horizontal axis
 
float xur=
upper right horizontal coordinate
 
float yinch=
window height as ratio of the screen height
 
float yll=
lower left vertical coordinate
 
bool yreverse=yreverse1 [y/n]
reverse vertical axis
 
float yur=
upper right vertical coordinate