在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):plotly/plotly_matlab开源软件地址(OpenSource Url):https://github.com/plotly/plotly_matlab开源编程语言(OpenSource Language):MATLAB 100.0%开源软件介绍(OpenSource Introduction):Plotly Graphing Library for MATLAB®
Version: 2.2.10 MATLAB is a registered trademarks of The MathWorks, Inc. InstallThe latest version of the wrapper can be downloaded here. Once downloaded, run For online use, run UpdatesNOTE: Please manually download and setup the latest version of the wrapper by following the installation instructions above. UsageConvert your MATLAB® figures into online Plotly graphs with a single line of code: % Create some data for the two curves to be plotted
x = 0:0.01:20;
y1 = 200*exp(-0.05*x).*sin(x);
y2 = 0.8*exp(-0.5*x).*sin(10*x);
% Create a plot with 2 y axes using the plotyy function
figure;
[ax, h1, h2] = plotyy(x, y1, x, y2, 'plot');
% Add title and x axis label
xlabel('Time (s)');
title('Frequency Response');
% Use the axis handles to set the labels of the y axes
set(get(ax(1), 'Ylabel'), 'String', 'Low Frequency');
set(get(ax(2), 'Ylabel'), 'String', 'High Frequency');
%--PLOTLY--%
p = fig2plotly; % <-- converts the yy-plot to an interactive, online version.
%--URL--%
% p.url = 'https://plot.ly/~matlab_user_guide/1522'
Also, access other Plotly services and graphs programatically. Like, publication-quality image export: saveplotlyfig(p, 'testimage.svg') and Plotly figure retrieval: p = getplotlyfig('chris', 1638) % downloads the graph data from https://plot.ly/~chris/1638 DocumentationThis lives here: https://plot.ly/matlab Questions & troubleshootingContributePlease do! This is an open source project. Check out the issues or open a PR! We want to encourage a warm, welcoming, and safe environment for contributing to this project. See the code of conduct for more information. LicenseMIT © 2021 Plotly, Inc. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论