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

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

[Octave-bug-tracker] [bug #53504] axis("equal") makes plot3 unusably sma


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53504] axis("equal") makes plot3 unusably small with graphics_toolkit("gnuplot")
Date: Wed, 28 Mar 2018 16:19:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #53504 (project octave):

Ah, I see what you are getting at now.  With "equal" scaling on all axes, the
[0,0.01] range is 1/100 the x scale.

The manner in which gnuplot works is that it centralizes the figure.  It isn't
smart enough to know it could expand out the visual range and zoom a bit even
if that means it has to offset (in this case) the y axis, whereas Qt toolkit
at least makes better use of the screen area for the [0,1] range.  In other
words, gnuplot is sort of an absolute relationship as far as the screen view,
i.e., "scale: 1.00000, 1.00000", whereas Qt is more relative use of the screen
view.

Does this seem like an Octave bug, or perhaps gnuplot?  We could attempt to
compensate perhaps by generating a measure of


gnuplot_scale = min([ ...
  max([x_axis_range/y_axis_range y_axis_range/x_axis_range]) ...
  max([x_axis_range/z_axis_range z_axis_range/x_axis_range]) ...
  max([z_axis_range/y_axis_range y_axis_range/z_axis_range])];


or something similar.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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