bugGNU Octave - Bugs: bug #33239, Incorrect mesh lines after 'hidden...

 
 

bug #33239: Incorrect mesh lines after 'hidden off'

Submitter:  None
Submitted:  Thu 05 May 2011 07:35:46 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  David O'Neill Originator Email:  -email is unavailable-
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 29 Aug 2013 11:08:55 PM UTC, comment #3: 

This appears to be a gnuplot bug, rather than an Octave bug.

In the intervening years, the situation has gotten better.  With the development branch of Octave and gnuplot 4.6.2 I no longer see problems 1 and 2.  There are still some lines extending beyond the axis boundaries, but, again, this seems to be the fault of gnuplot.  If I change the x-axis limits from [-1 1] to [-1.0001 1] then the figure draws correctly.


Rik <rik5>
Group administrator
Fri 06 May 2011 02:54:19 AM UTC, comment #2: 

Jordi,

If you meant to say that the plot and print are OK under
fltk, then I agree: they are for the current stable
branch.

Michael Godfrey <godfrey>
Group Member
Thu 05 May 2011 07:41:43 PM UTC, comment #1: 

Confirmed in dev sources, but only with gnuplot, not fltk.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Thu 05 May 2011 07:35:46 PM UTC, original submission:  

Plotting the unit sphere so that it is bisected in the yz plane (at the edge of a plot, in the example shown below through x = -1), then specifying 'hidden off' as follows:


octave-3.2.3:1> [x,y,z] = sphere;
octave-3.2.3:2> mesh(x-1, y, z);
octave-3.2.3:3> axis([-1 1 -1 1 -1 1]);
octave-3.2.3:4> hidden off;
octave-3.2.3:5> print -djpg hemisphere.jpg; %(to include with this report)


leads to three problems

1) two additional lines, unrelated to the sphere, appear (from the "south pole" in directions that comprise various resultants of the positive x and z axes)

2) mesh lines are missing from parts of the great plane of bisection

3) additional mesh lines appear:

from the "north pole" - lines of longitude" up to, but not including, the second "line of latitude";

from one of (the two) "lines of longitude" in the bisected plane, - "lines of latitude", up to, but not including,  the second "line of longitude", of the two omitted by the bisection. The lines pass directly from the "line of longitude" that is plotted, to the position of the nodes with the "line of longitude".

I understand (from a thread in the Nabble forum) that the problem also occurs with Portable Octave 3.0.0 under windows/cygwin (see http://octave.1599824.n4.nabble.com/quot-axis-scale-dataspectratio-quot-problem-with-3D-graph-td3491951.html)

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23355:  hemisphere.jpg added by None (93KiB - image/jpeg - Image, as noted in the code above, to illustrate the problem)

 

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 godfrey (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-29 rik5 StatusConfirmed Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2011-05-05 jordigh CategoryPlotting Plotting with gnuplot
        StatusNone Confirmed
    2011-05-05 None Attached File- Added hemisphere.jpg, #23355

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code