Wed 31 May 2017 08:55:06 PM UTC, comment #1:
In order to change the graphic properties associated with a plot object you need to have a handle to that plot object. Just ask for that handle in your code--It is the first output argument of ezsurf. Thus, this should get you close.
You can use
to find a list of graphic properties to change.
The category of this bug was marked as "Plotting with gnuplot", but it is actually a misunderstanding of how ezsurf works. I changed the category to "Octave function".
|
Mon 29 May 2017 08:47:27 PM UTC, original submission:
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
|