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

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

[Octave-bug-tracker] [bug #43606] plotting with axis limits at 0


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #43606] plotting with axis limits at 0
Date: Fri, 30 Dec 2016 14:12:42 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0

Update of bug #43606 (project octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #4:

Attached is a patch that treats limits that span 0 on logarithmic axes
similarly to how Inf limits are treated: the "offending" limit is
automatically adjusted.

This is slightly different to what Matlab seems to do. They keep the limits as
set in the corresponding property (e.g. "YLim") and only adjust the on-screen
limits. They do the same for "Inf".
That means that in Matlab there is no way that I'm aware of to get the actual
axis limits. Thus, this difference might be a feature of Octave.

However, we might need to treat Inf and offending limits directly in the
graphics backend anyway. They still fail when setting the properties directly
rather than using the higher level functions (i.e. "set (gca, 'ylim', [-Inf
1]);" rather than "ylim ([-Inf 1])").

Should I open a new bug report for this or should we continue here?

(file #39331)
    _______________________________________________________

Additional Item Attachment:

File name: bug43606_log_axis_lims.patch   Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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