MATLAB 画Line_Plot3D
2017-02-07 11:04
926 查看
% 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’)
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’)
相关文章推荐
- MATLAB中plot函数的LineSpec参数
- Matlab的xlsread数据读取问题(line247)
- Solve Error : Undefined function or variable ‘setInitialWorkingFolder’. Error in matlabrc (line 197)
- Matlab中解决出现的错误使用 svmtrain (line 234) Y must be a vector or a character array.问题
- [matlab]Auto-connect block to existing line
- matlab命令之stem与line:画出切割信号的竖线
- matlab plot line settings
- matlab基础——LinePlots and Subplots
- matlab在mac环境下出现的/Applications/MATLAB_R2011b.app/bin/mex: line 305: gcc-4.2: command not found
- matlab通过两点画线问题&&plot,line的用法和区别。
- MATLAB出现:错误使用 xlsread (line 251)
- MATLAB 画Line _Plot 2D
- 尝试将 SCRIPT ompbox\private\ompmex 作为函数执行: C:\Users\hss\Documents\MATLAB\AplusCodes_SR\ompbox\private\ompmex.m 出错 omp (line 163) gamma = ompmex(D,X,DtX,G,T,sparse_gamma,msgdelta,profile);
- matlab中图像处理出现Error using isrgb (line 8)Function ISRGB has been removed.
- matlab gui(二)对象(axes,line[ezplot,plot],回调函数的写法)
- MATLAB编译c++出错的解决办法(Error in compile (line 439) mex(args{:});)
- matlab出现错误: Error using xlsread (line 247)Error: 服务器出现意外情况。
- using matlab drawing line graph for latex
- Matlab与c++混合编程[三.生成可以独立运行的Matlab程序]
- 如何在python中读写和存储matlab的数据文件(*.mat)