[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Postscript plottting
From: |
Joao Cardoso |
Subject: |
Re: Postscript plottting |
Date: |
Sat, 30 Oct 1999 15:41:34 +0100 |
Kubinszky Ferenc wrote:
> Hi ,
>
> I made the program below, but the postscript file contains 2 pages.
> In the first page there is a plot only with one line, but in the second I get
> the two dataline correctly.
> Why ?
>
> Can I make some labels for the datalines ?
>
> Ferenc Kubinszky
>
> Th program:
>
> x=[0.5 1.0 2.0 3.0 4.0 4.1 4.2 4.3 4.4 4.5 5.0 6.0 7.0 9.0];
> y=[58.6 117 233 349 457 470 471 480 489 487 487 481 473 482];
> xd=[0 10];
> yd=[0 866];
> grid;
> title( "Throughput vs. link's bandwidth (30MB ftp download)");
> xlabel "Bandwidth of the link"
> ylabel "FTP throughput"
> plot(xd,yd,x,y,'@-');
> gset term postscript
> gset output "drv01.ps"
replot
>
> plot(xd,yd,x,y,'@-');
not needed
Look in the archive for a 'print_plot' function.
John Eaton, more work for you :-) when will Octave have its mail archive
'monarchized'?
Joao
>
>
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL. To ensure
> that development continues, see www.che.wisc.edu/octave/giftform.html
> Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
> ---------------------------------------------------------------------
--
Joao Cardoso | e-mail: address@hidden
INESC, R. Jose Falcao 110 | tel: + 351 2 2094322
4050 Porto, Portugal | fax: + 351 2 2008487
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------