help-octave
[Top][All Lists]
Advanced

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

Re: Different plot behavior in octave and gnuplot


From: emooshag
Subject: Re: Different plot behavior in octave and gnuplot
Date: Wed, 12 Sep 2012 13:10:03 -0700 (PDT)

James Sherman wrote
> 
> The command:
>> plot(5)
> should only produce a plot of a single point at the coordinate (1,5),
> which
> probably shows up as a nothing because it is just a single point (and you
> have no marker style chosen).  If you try:
>> plot(5, "+")
> You should see more clearly that it is just a point at (1,5).  What
> happens
> when you only give one argument to plot is that you are giving it the
> y-values of the points and the x-values are indices of those points.  For
> example,
>> plot([1 2 4])
> will plot the points (1,1), (2,2), (3,4) connected by lines.
> 
> Sure enough.  Thank you James.  
> 
> 
> 
> _______________________________________________
> Help-octave mailing list
> Help-octave@
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Different-plot-behavior-in-octave-and-gnuplot-tp4644032p4644045.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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