bugGNU Octave - Bugs: bug #31693, 3D plot with yscale =...

 
 

bug #31693: 3D plot with yscale = "log" changes zticks to log as well

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Thu 18 Nov 2010 12:57:41 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Pascal DupuisOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 19 Nov 2010 09:30:52 PM UTC, comment #3:

Thanks -- it's so simple it can even be applied directly.

Regards

Pascal

Pascal Dupuis <cdemills>
Project Member
Fri 19 Nov 2010 01:03:00 AM UTC, comment #2:

I've pushed the changeset.

http://hg.savannah.gnu.org/hgweb/octave/rev/da314c58f0b9

Ben Abbott <bpabbott>
Project Member
Thu 18 Nov 2010 09:06:24 PM UTC, comment #1:

I've attached a trivial fix.

I'll push this change in a few hours.

(file #22053)

Ben Abbott <bpabbott>
Project Member
Thu 18 Nov 2010 12:57:41 PM UTC, original submission:

Bug report for Octave 3.2.3 configured for i486-pc-linux-gnu

Description:
-----------

  • when producing a 3D curve where one of the dimension requires log scale,

setting the axis to 'log'
disrupt other axis tick label. Doing a get(gca()) shows everything is set
correctly, yet the rendering is not OK.

Repeat-By:
---------

t=(0.05:.05:10);
plot3(cos(2pit), t, sin(2pit)) %# OK
set(gca(), 'yscale', 'log')
get(gca, 'ztick')
-1.00000 -0.50000 0.00000 0.50000 1.00000
=> notice the vertical axis label are now 10^0, 10^-1 10^0, 10^-1, 10^0,
which doesn't make sense.

Fix:
---
Inside gnuplot, the problem doesn't appear ???
gnuplot> set parametric
gnuplot> splot [t=.05:10] cos(2pit), t, sin(2pit)
gnuplot> set logscale y
gnuplot> replot

Regards

Pascal

Ben Abbott <bpabbott>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cdemills (Posted a comment)
  • -unavailable- added by bpabbott (Submitted the item)
  • -unavailable- added by bpabbott
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Nov 2010 01:03:00 AM UTCbpabbottStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Thu 18 Nov 2010 09:06:24 PM UTCbpabbottAttached File-=>Added changeset.patch, #22053
      StatusNone=>Patch Submitted
    Thu 18 Nov 2010 12:57:41 PM UTCbpabbottCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1