help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Postscript plottting


From: Kubinszky Ferenc
Subject: Postscript plottting
Date: Fri, 29 Oct 1999 19:08:07 +0200 (MET DST)

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"
plot(xd,yd,x,y,'@-');





---------------------------------------------------------------------
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
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]