octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53373] Mesh grids and axis and grids behave u


From: Hans Wilke
Subject: [Octave-bug-tracker] [bug #53373] Mesh grids and axis and grids behave unexpected
Date: Sun, 18 Mar 2018 04:39:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53373>

                 Summary: Mesh grids and axis and grids behave unexpected
                 Project: GNU Octave
            Submitted by: hansw
            Submitted on: Sun 18 Mar 2018 08:39:00 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If I plot and print a 3D graph with mesh, surf (...) the y-axis and grids
behave unexpected. The Y-axis is thinner than any other axis or grid. Setting
a linewidth lets it scale with the other lines, but it stays thinner. The
grids in the background show a random behavior. 

Plotting the same data with plot3 though produces axis and grids just as
expected. The Code below demonstrates this. 

[X,Y] = meshgrid(-8:.5:8); 
R = sqrt(X.^2 + Y.^2) + eps;
Z = sin(R)./R;
plot3(X,Y,Z)
grid on
set(gca(), "gridcolor", [0 0 0])
set(gca(), "gridlinestyle", "--")
print('-dtex',"-S200,150",'plot3');

mesh(X,Y,Z)
grid on
set(gca(), "gridcolor", [0 0 0])
set(gca(), "gridlinestyle", "--")
print('-dtex',"-S200,150",'mesh');




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 18 Mar 2018 08:39:00 AM UTC  Name: mesh-inc.eps  Size: 700KiB   By:
hansw

<http://savannah.gnu.org/bugs/download.php?file_id=43585>
-------------------------------------------------------
Date: Sun 18 Mar 2018 08:39:00 AM UTC  Name: plot3-inc.eps  Size: 102KiB   By:
hansw

<http://savannah.gnu.org/bugs/download.php?file_id=43586>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53373>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]