Akzeptierte Antwort

Star Strider
Star Strider am 26 Jan. 2018
Bearbeitet: Star Strider am 26 Jan. 2018

2 Stimmen

Try this:
x = [1;1] * linspace(-4, 4, 25) ;
y = x.^2;
figure(1)
surf(x, y, [zeros(size(x(1,:))); 5*ones(size(x(1,:)))], 'EdgeColor','b')
grid on
view(-75, 45)
EDIT Added plot.

2 Kommentare

felix jose chavez torres
felix jose chavez torres am 26 Jan. 2018
thanks!!
Star Strider
Star Strider am 26 Jan. 2018
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by