Graph matlab中的三维图形

Graph matlab中的三维图形,graph,plot,Graph,Plot,我有3个参数x,y,z,我想问一下如何在matlab中绘制三维图形 49.2088 18.7600 60.0000 49.2088 18.7599 65.0000 49.2089 18.7599 59.0000 49.2089 18.7600 62.0000 49.2090 18.7600 68.0000 49.2090 18.7600 65.0000 49.2090 18.7600 65.0000 49.2091 18.7600

我有3个参数x,y,z,我想问一下如何在matlab中绘制三维图形

49.2088   18.7600   60.0000
49.2088   18.7599   65.0000
49.2089   18.7599   59.0000
49.2089   18.7600   62.0000
49.2090   18.7600   68.0000
49.2090   18.7600   65.0000
49.2090   18.7600   65.0000
49.2091   18.7600   66.0000
49.2091   18.7600   71.0000
49.2091   18.7600   78.0000
49.2092   18.7601   80.0000
49.2093   18.7601   77.0000
49.2093   18.7601   82.0000
49.2094   18.7602   80.0000
49.2093   18.7602   81.0000
49.2091   18.7605   54.0000
49.2090   18.7605   50.0000
49.2087   18.7608   66.0000
49.2087   18.7608   66.0000
49.2084   18.7611   75.0000
49.2083   18.7611   75.0000

图形的形状应该像

看看这个例子

% Load the spectra data
load spectraData masscharge time spectra;

% Create the 3D plot
figure;
plot3(masscharge, time, spectra);
box on;

% Set the viewing angle and the axis limits
view(26, 42);
axis([500 900 0 22 0 4e8]);

% Add title and axis labels
xlabel('Mass/Charge (M/Z)');
ylabel('Time');
zlabel('Ion Spectra');
title('Extracted Spectra Subset');
3-D looke loke


(来源:)

想要更好的图图

最好访问那里的网站搜索或询问那里的问题,它与MatLab完全相关