[LON-CAPA-users] variable number of curves in a gnuplot problem

H. K. Ng lon-capa-users@mail.lon-capa.org
Thu, 19 Feb 2004 15:12:48 -0500


I am trying to creating a gnuplot problem that may have, say 5-8 curves or 
points. I haven't been able to figure out how to do this since under 
gnuplot tag, I have to specify the

<curve name="" linestyle="lines" pointtype="0" color="x003399">
     <data>@X</data> <data>@Y</data>
</curve>

for each curve beforehand. How do I write it so the number of curves are 
not set but determined by a random assignment.

Thanks,
hk