[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately |
Date: |
Mon, 05 Sep 2011 03:06:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0 |
URL:
<http://savannah.gnu.org/bugs/?34207>
Summary: gl-render does not set tick labels for log axes
appropriately
Project: GNU Octave
Submitted by: godfrey
Submitted on: Mon 05 Sep 2011 03:06:18 AM GMT
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Michael Godfrey
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When using log axes with fltk the tick labels are
displayed as for linear axes. Thus, for semilogy(1:10)
the x axis tick labels are:
1.58489 2.51189 3.98107 6.30957 10
instead of
10^0.2 10^0.4 10^0.6 10^0.8 10^1.0
or, for ML compatibility:
10^0 10^1
Also, ML shows tick marks as follows for semilogx(1:2):
10^0 10^0.1 10^0.2 10^0.3
and, in the ML plot the ^xx is actually a superscript.
Not sure if OpenGL knows how to do this. Not too important
compared to using 10^xx for the log tick labels and reducing
the number of minor ticks.
I looked at the code in gl-render.cc, which seems to be
where this fix should go, but it was not obvious what the
correct code should be.
So, can someone with OpenGL knowledge look at this?
Michael
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34207>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately,
Michael Godfrey <=
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Ben Abbott, 2011/09/05
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Ben Abbott, 2011/09/05
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael Godfrey, 2011/09/05
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael Godfrey, 2011/09/05
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael Godfrey, 2011/09/05
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Ben Abbott, 2011/09/06
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael Godfrey, 2011/09/06
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael Godfrey, 2011/09/06
- [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Ben Abbott, 2011/09/06
- Re: [Octave-bug-tracker] [bug #34207] gl-render does not set tick labels for log axes appropriately, Michael D Godfrey, 2011/09/07