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: Daniel Molina García
Subject: [Octave-bug-tracker] [bug #58526] "view(az, el)" does not work
Date: Wed, 10 Jun 2020 16:14:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

I have been debugging and I found that:

* nd variable in scripts/plot/util/private/__gnuplot_draw_axes__.m is obtained
through  __calc_dimensions__(h).
* Return of __calc_dimensions__ is 2 if the axes were created with _plot_ and
3 if it was created with _plot3_, independently of the graphic toolkit.
* _view(az, el)_ does not modify the value returned by __calc_dimensions__,
independently of the graphic toolkit.

I think that function _view(az, el)_, independently of _az_ and _el_, should
change the graphic object as if plot3 had been used to create it. That would
solve this bug and probably others, since it would increase the consistency
and any other function apart from __calc_dimensions__ would benefit from
that.

I am not used to octave code yet, so maybe I am not considering something
important.



    _______________________________________________________

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]