help-octave
[Top][All Lists]
Advanced

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

Re: Boxed legend not correct size


From: am304
Subject: Re: Boxed legend not correct size
Date: Fri, 24 Feb 2012 06:40:22 -0800 (PST)

The following sort of gives an idea. I think the problem is to do with the
NaN present in the data, maybe in conjunction with the use of dates.

xdata = datenum(2012,02,22,18,00,00):0.01:now;
ydata = sin(xdata);
ydata(2:2:end) = NaN;
plot(xdata(~isnan(ydata)),ydata(~isnan(ydata)))
datetick('x',13)

Which gives with fltk:

http://octave.1599824.n4.nabble.com/file/n4417375/test_fltk.jpg 

and with gnuplot:

http://octave.1599824.n4.nabble.com/file/n4417375/test_gnuplot.jpg 

Thanks,

Arnaud

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Boxed-legend-not-correct-size-tp4404592p4417375.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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