bugGNU Octave - Bugs: bug #34041, mesh and meshc stop displaying...

 
 

bug #34041: mesh and meshc stop displaying z-axis after one script execution

Submitted by:  Charles <cmire>
Submitted on:  Wed 17 Aug 2011 10:11:07 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: CharlesOpen/Closed: Closed
Release: 3.2.3Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Feb 2012 06:31:11 AM UTC, comment #2:

Closing bug as this references an obsolete version of Octave. This bug can be re-opened if the problem can be demonstrated on a recent (3.6.X) version of Octave.

Incidentally, running Octave 3.6.0 with gnuplot 4.4 on a Kubuntu 10.04 system exhibits no problem with your meshbug script.

Rik <rik5>
Project Administrator
Thu 18 Aug 2011 02:08:56 PM UTC, comment #1:

Further comments on what appears to be causing this bug:

The actual plot by gnuplot appears to be o.k., but the problem is that the perspective of the mesh and meshc images start defaulting to a "top" (2D) view. When "colorbar" is used in the figure, this locks the view to whatever the default state is for gnuplot.

So what's actually happening for me is when I run the test script submitted here, mesh and meshc work fine, regardless of the number of times I run the script. But when I run a more complicated version of the same script that plots the results of 3 different functions on the same mesh or meshc, the view defaults to a top-level perspective in gnuplot and then won't revert back even when I run this simpler test script again. Only if I run something else, like sombrero.m, then the perspective defaults back to 3D next time I run the test script attached here.

If I remove the colorbar command from the plot, then I can grab the image with my mouse cursor and rotate it to the correct view. The plot itself is fine.

Charles <cmire>
Wed 17 Aug 2011 10:11:07 PM UTC, original submission:

I've been working on this script for awhile, and today started using meshc. The script worked fine with mesh and meshc until today. After running the script multiple times throughout the day as I made changes, mesh and meshc suddenly stopped plotting the z-axis. So instead of seeing a 3D plot consisting of mesh(x(i), y(j), z(i,j)) I got a 2D plot consisting of only (x(i), y(j)). This happened for meshc first, but when I reverted back to mesh, the same thing happened.

When I rebooted, the first run of my script produced the correct 3D results with mesh, but subsequent executions only rendered the 2D (x,y) plot again.

I have been using the QtOctave interface, but the problem still exists if I run the script through the Octave-3.2.3 command line interface. I'm running this on Kubuntu 10.04.

Charles <cmire>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #23828:  meshbug.m added by cmire (1KiB - text/x-matlab)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 16 Feb 2012 06:31:11 AM UTCrik5StatusNone=>Works For Me
      Open/ClosedOpen=>Closed
    Wed 17 Aug 2011 10:11:07 PM UTCcmireAttached File-=>Added meshbug.m, #23828

    Back to the top


    Powered by Savane 3.1-cleanup1