[LON-CAPA-users] gnuplot: change size of head of vector

James Sullivan lon-capa-users@mail.lon-capa.org
Mon, 29 Aug 2005 11:54:58 -0400


Fellow loncapers,

I'm trying to dynamically plot a vector with gnuplot inside loncapa. Works
no problem. But for the life of me I can't seem to change the size of vector
head or the line thickness. Any suggestions?

Here's the barebones xml I am using:

<gnuplot width="300" vspace="100" grid="on" align="center" font="medium"
height="240" border="on" alttag="dynamically generated plot"
bgcolor="xffffff" fgcolor="x000000" transparent="off">
     <curve linestyle="vector" name="" color="xff00ff" >
     <axis ymin="-$scaley" ymax="$scaley" xmin="-$scalex" xmax="$scalex"
color="x000000" />
         <data>@X1</data>
         <data>@Y1</data>
         <data>@X2</data>
         <data>@Y2</data>
     </curve>
     <xlabel>t (seconds)</xlabel>
     <ylabel>position (m)</ylabel>
 </gnuplot>

I've played with the gnuplot directives for the head size and line size but
with no discernible effect......

JMS