Re: one more question...



Am 9 Feb 2006 um 17:30 hat Fabrizio Caruso geschrieben:

> Hi again!
> 
> I have one more question about line segments.
> 
> So far, I know that to draw n line segments
> I'll have to do something like:
> 
> plot2d([[discrete,[[x1,y1],[x2,y2]]],
>         [discrete,[................]...] (n times),
>        [gnuplot_curve_styles,
>         ["with lines", "with lines", .... "with lines"]) ( n times)
> 
> Is there a simpler way?
> 
>    Fabrizio
> 
> 

Hello Fabrizio,
perhaps the following method could be interesting for you:

1. write your data into a file in columns
2. open gnuplot itself and plot the data 

gnuplot can plot data from columns in a file.
(Maxima plot2d makes use of this with the intermediate maxout.gnuplot)

if this fits to your your needs, I will explain more in detail

cheers 
Volker