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

 
 

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

Submitter:  Charles <cmire>
Submitted:  Wed 17 Aug 2011 10:11:07 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Charles Open/Closed:  * Closed
Release:  * 3.2.3 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by cmire (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-16 rik5 StatusNone Works For Me
        Open/ClosedOpen Closed
    2011-08-17 cmire Attached File- Added meshbug.m, #23828

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code