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

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

[Octave-bug-tracker] [bug #58526] "view(az, el)" does not work


From: Rik
Subject: [Octave-bug-tracker] [bug #58526] "view(az, el)" does not work
Date: Wed, 10 Jun 2020 19:19:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #15, bug #58526 (project octave):

It might be worth applying the patch, even if there is a potential for new
problems.  If it really does start to break existing code then problems will
be reported on the Bug Tracker and we can just revert the changeset.

Also, I think there is some weirdness going on with 3-D scenes with gnuplot. 
You noted that the problem with using plot3 is that the plot is shrunk when
moving to a 2-D view.  However, it seems that this is because the code is
ignoring the size of the axes specified in the "position" property.  If I
change the size of the axes, and then change back to the original size,
gnuplot is forced to re-draw the plot and it turns out to look just fine.

Sample code


plot3 (x,y)
view (90, 90) # plot is small now
box on        # 2-D plot enables the box, plot3 does not, so I turn it on
here
pos = get (gca, "position");
set (gca, "position", pos+.001);  # This produces an attractive plot
set (gca, "position", pos);       # This produces the same plot
                                  # .001 is below threshold for visual change




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58526>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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