0

x、y、z の 3 つのパラメータがあり、matlab で 3D グラフをプロットする方法を知りたいです。

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

グラフの形状はhttp://uloz.to/xGWT2Sz/graph-jpgのようになります

4

1 に答える 1

0

この例を見てください

% 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は見た目が悪い

写真
(ソース:mathworks.com

より良いtutoのためにこれを訪問してください

于 2013-03-22T11:21:45.967 に答える