octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38961] print freezes when printing certain fp


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #38961] print freezes when printing certain fplots
Date: Thu, 16 May 2013 14:26:07 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31

Update of bug #38961 (project octave):

                Category:   Plotting with gnuplot => Plotting               

    _______________________________________________________

Follow-up Comment #4:

I've changed the category as this also occurs for OpenGL plotting.

I tried the example in Matlab R2013a.  Matlab's fplot() limits the number of
points to 111 for this example to 111.


fplot ('x^2*sin(x)+1', [-2, 2]);
size (get (get (gca, 'children'), 'xdata'))
ans =  1   111



figure (1)
fplot ('x^2*sin(x)+0', [-2, 2]);
size (get (get (gca, 'children'), 'xdata'))
ans =  1   111


I've included two more examples for reference.


fplot ('sin(x)', [-2, 2]);
size (get (get (gca, 'children'), 'xdata'))
ans =  1   179



fplot ('x', [-2, 2]);
size (get (get (gca, 'children'), 'xdata'))
ans =  1   10



fplot ('1/x', [-2, 2]);
size (get (get (gca, 'children'), 'xdata'))
ans =  1   176


I can run additional examples if it is helpful.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38961>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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