[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51140] Octave: expecting scalar N, or 2-/4-el
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #51140] Octave: expecting scalar N, or 2-/4-element vector DOM-ezsurf Error |
Date: |
Mon, 29 May 2017 16:47:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?51140>
Summary: Octave: expecting scalar N, or 2-/4-element vector
DOM-ezsurf Error
Project: GNU Octave
Submitted by: None
Submitted on: Mon 29 May 2017 08:47:27 PM UTC
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Zelda Grey
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: GNU/Linux
_______________________________________________________
Details:
I need some kind of help about ezsurf as I understand from my research matlab
fplot is equal to ezplot in octave. And I write a script
fx = @(x,y) x.*sin(y);
fy = @(x,y) -x.*cos(y);
fz = @(x,y) y;
ezsurf(fx, fy, fz,[-5 5 -5 -2],'--','EdgeColor','g')
hold on
ezsurf(fx, fy, fz,[-5 5 -5 -2],'EdgeColor','none')
hold off
if I able to run the script I expect to see the uploaded image(ezsurf).
When I run the script without "'--','EdgeColor','g'" etc it works well, here
is my code and image (ezsurf2)
fx = @(x,y) x.*sin(y);
fy = @(x,y) -x.*cos(y);
fz = @(x,y) y;
ezsurf(fx, fy, fz,[-5 5 -5 -2])
hold on
ezsurf(fx, fy, fz,[-5 5 -5 -2])
hold off
How can I personalize it's color and mini shapes on the graph.
Thank you so much in advance
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 29 May 2017 08:47:27 PM UTC Name: ezsurf.png Size: 44kB By: None
I get the image from mathworks
https://www.mathworks.com/help/examples/graphics/win64/SpecifySurfacePropertiesExample_07.png
<http://savannah.gnu.org/bugs/download.php?file_id=40811>
-------------------------------------------------------
Date: Mon 29 May 2017 08:47:27 PM UTC Name: ezsurf2.png Size: 63kB By:
None
I get the image from mathworks
https://www.mathworks.com/help/examples/graphics/win64/SpecifySurfacePropertiesExample_07.png
<http://savannah.gnu.org/bugs/download.php?file_id=40812>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51140>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51140] Octave: expecting scalar N, or 2-/4-element vector DOM-ezsurf Error,
anonymous <=