plotly-graphing-library-for-matlab-master
所属分类:matlab编程
开发工具:matlab
文件大小:211KB
下载次数:0
上传日期:2021-04-28 14:58:45
上 传 者:
52梦想
说明: MATLAB?的Plotly图形库-使用MATLAB?和Plotly在Web浏览器中创建交互式图表
(MATLAB Plotly graphics library based on MATLAB Creating interactive charts in a web browser with and plotly)
文件列表:
CODE_OF_CONDUCT.md (3224, 2020-01-24)
LICENSE (1078, 2020-01-24)
plotly (0, 2020-01-24)
plotly\export_fig2 (0, 2020-01-24)
plotly\export_fig2\export_fig2.m (671, 2020-01-24)
plotly\fig2plotly.m (1402, 2020-01-24)
plotly\getplotlyfig.m (993, 2020-01-24)
plotly\plotly_aux (0, 2020-01-24)
plotly\plotly_aux\base64decode.m (4309, 2020-01-24)
plotly\plotly_aux\cell2json.m (194, 2020-01-24)
plotly\plotly_aux\checkescape.m (507, 2020-01-24)
plotly\plotly_aux\escapechars.m (153, 2020-01-24)
plotly\plotly_aux\getuserdir.m (489, 2020-01-24)
plotly\plotly_aux\is_octave.m (183, 2020-01-24)
plotly\plotly_aux\jsonlab (0, 2020-01-24)
plotly\plotly_aux\jsonlab\AUTHORS.txt (1624, 2020-01-24)
plotly\plotly_aux\jsonlab\ChangeLog.txt (2865, 2020-01-24)
plotly\plotly_aux\jsonlab\LICENSE_BSD.txt (1551, 2020-01-24)
plotly\plotly_aux\jsonlab\examples (0, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\demo_jsonlab_basic.m (5747, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\demo_ubjson_basic.m (5842, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\example1.json (436, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\example2.json (583, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\example3.json (256, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\example4.json (500, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\jsonlab_basictest.matlab (6033, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\jsonlab_selftest.m (766, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\jsonlab_selftest.matlab (2009, 2020-01-24)
plotly\plotly_aux\jsonlab\examples\jsonlab_speedtest.m (675, 2020-01-24)
plotly\plotly_aux\jsonlab\jsonopt.m (889, 2020-01-24)
plotly\plotly_aux\jsonlab\loadjson.m (16510, 2020-01-24)
plotly\plotly_aux\jsonlab\loadubjson.m (14309, 2020-01-24)
plotly\plotly_aux\jsonlab\mergestruct.m (779, 2020-01-24)
plotly\plotly_aux\jsonlab\savejson.m (14329, 2020-01-24)
plotly\plotly_aux\jsonlab\saveubjson.m (15163, 2020-01-24)
... ...
# Plotly Graphing Library for MATLAB
> Plotly Graphing Library for MATLAB - Create interactive charts in your web browser with MATLAB and Plotly
Version: 2.2.10
*MATLAB is a registered trademarks of The MathWorks, Inc.*
## Install
The latest version of the wrapper can be downloaded [here](https://github.com/plotly/MATLAB-Online/archive/master.zip).
Once downloaded, run `plotlysetup('your_username', 'your_api_key')` to get started.
### Updates
**NOTE:** `plotlyupdate.m` is currently turned off.
Please manually download and setup the latest version
of the wrapper by following the installation instructions above.
## Usage
Convert your MATLAB figures into online [Plotly](https://plot.ly) graphs with a single line of code:
```MATLAB
% 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'
```
[![MATLAB Contour Plot](https://plot.ly/~matlab_user_guide/1522.png)](https://plot.ly/~matlab_user_guide/1522)
Also, access other Plotly services and graphs programatically. Like, publication-quality image export:
```MATLAB
saveplotlyfig(p, 'testimage.svg')
```
and Plotly figure retrieval:
```MATLAB
p = getplotlyfig('chris', 1638) % downloads the graph data from https://plot.ly/~chris/1638
```
## Documentation
This lives here: [https://plot.ly/matlab](https://plot.ly/matlab)
## Maintainers
-
-
- [@plotlygraphs](https://twitter.com/plotlygraphs)
## Contribute
Please do! This is an open source project. Check out [the issues](https://github.com/plotly/MATLAB-Online/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](CODE_OF_CONDUCT.md) for more information.
## License
[MIT](LICENSE) 2017 Plotly, Inc.
近期下载者:
相关文件:
收藏者: