help-octave
[Top][All Lists]
Advanced

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

Re: [was: urgent help with plot: solved] gnuplot commands


From: roberto
Subject: Re: [was: urgent help with plot: solved] gnuplot commands
Date: Fri, 23 Sep 2005 10:07:24 +0200

On 9/22/05, roberto <address@hidden> wrote:
> On 9/22/05, roberto <address@hidden> wrote:
>  ###############################################
>  clear all
>  r_up = linspace(.1,10,5);
>  T = [];
>
>  for i = 1:length(r_up)
>          [E,c,a,T(i)] = E_X2rad(110,60,r_up(i));
>          T = [T T(i)];
>  # inserted here just to check output
>          fdisp(stdout, T(i));
>  end
>  plot(r_up,T,'*');
>  ###############################################
>  but if i look inside T, well it has 6 elements (not 5) and they are
>
>  0.012465  0.306810  0.595773  0.873184  1.277914  1.277914
>
>  as you can see the last one is repeated twice, i do NOT know why...
>  so plot cannot plot anything at all
>  thank you for any help

thank you all the same, i solved the problem;
now i'd like to know the following if you can give me some advice:
when i use these lines:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
gset title  "angle - radius; N = 50"
gset xlabel "radius [m]"
gset ylabel "angle [rad]"
gset term postscript eps color
gset output "angle_to_radius.eps"
replot;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

i get this warnings:
warning: gset deprecated and will be removed from a future
warning: version of Octave.
warning: You should use the higher-level plot functions
warning: ("plot", "mesh", "semilogx", etc.) instead
warning: of the low-level plotting commands.
warning: If you absolutely must use this function, use the
warning: internal version __gnuplot_set__ instead.

i checked in the online manual but did not find anything really
useful; i'd like to know how to handle the interaction between octave
and gnuplot, such as to take control over all the capabilities of
gnuplot from inside an octave code: can you please address me to some
online reference where i can get this information?

thank you all


--
roberto
GNU/Linux, debian sarge



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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