MATLAB 画Line_Plot3D

来源:互联网 发布:linux 输出重定向 2 1 编辑:程序博客网 时间:2024/05/17 09:04

% 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(25, 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’)

这里写图片描述

0 0