plots.m, plotses.m
Example:
x = [-10:0.1:10]';
Y = [x x.^2 x.^3 cos(x)];
location = 'top';
labels = ['x-axis '
'y=x '
'y=x^2 '
'y=x^3 '
'y=cos(x)'];
[hlines,haxes]=plots(x,Y,location,labels);
Plots the columns of the matrix Y versus the vector column x, using different axes at the top of the figure, with the specified axes-labels.
The location of the axes can be 'left' (default), 'right', 'top' or 'bottom'.
PLOTSES.M its the almost the same but with the axes moved from the fixed axis (useful?).
Both M-files come with the colored example of the screenshot.
인용 양식
Carlos Adrian Vargas Aguilera (2024). plots.m, plotses.m (https://www.mathworks.com/matlabcentral/fileexchange/10242-plots-m-plotses-m), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
태그
도움
도움 받은 파일: plotyyy
도움 준 파일: addaxes.m v1.1 (Sep 2009), ecopath_matlab: A Matlab implementation of Ecopath, xunits, yunits and zunits.m (Jul 2014)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | English translation from spanish. Little changes on the submit and screenshot.
|