help-octave
[Top][All Lists]
Advanced

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

Re: Octave plotting x axis precision


From: Marco Atzeri
Subject: Re: Octave plotting x axis precision
Date: Fri, 18 Mar 2016 14:39:10 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0



On 18/03/2016 11:03, wangboyuan wrote:
Hi,

I wonder how can I increase the precision of the x/y axis when I am plotting
the graph.

I have initialised the >>option long
and I have a data set for example:

x(1:3)
ans =

    736330.576631944
    736330.576643519
    736330.576655093

  y(1:3)
ans =

   -62
   -63
   -62

and when I do plot(x(1:3),y(1,3)), i can only see a straight vertical line
between -62 and -63, it seems like that the x axis doesnt have enough
decimal places to recognise the changes.

it is a know limitation of fltk that uses only single precision.
Try using gnuplot as graphics or rescale the numbers to plot





reply via email to

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