how to use mesh to plot 3D image
Show older comments
i want to plot a figure like the attached addressURL. but i cant really know how to use the "mesh". please help me and correct the code. thanks you a lot!
https://www.dropbox.com/s/bxmrdjxazc4b84k/243950433810.jpg
clc; clear; close all figure; [X,T] = meshgrid(-2:.1:2 , 2:-.1 :0); Z = (X.^2)./T;
%surf(X,T,Z) mesh(Z);
%axis([-2 2 0 2 0 2])
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!