Comments (1)
This issue was fixed by PR #464
For this it adds the stackedplot
functionality to matlab_plotly
.
Example 1
tbl = readtable('outages.csv');
tbl = table2timetable(tbl);
tbl = sortrows(tbl);
stackedplot(tbl)
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4678/loss-customers-restorationtime/#/
Example 2
tbl = readtable('patients.xls');
stackedplot(tbl,{'Height','Weight','Systolic','Diastolic'})
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4680/height-weight-systolic-diastolic/#/
Example 3
tbl = readtable('outages.csv');
tbl = table2timetable(tbl);
tbl = sortrows(tbl);
stackedplot(tbl,{'RestorationTime','Loss','Customers'})
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4682/restorationtime-loss-customers/#/
Example 4
load patients
tbl = table(Weight,Systolic,Diastolic);
vars = [{'Systolic','Diastolic'},'Weight'];
stackedplot(tbl,vars);
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4684/systolic-diastolic-weight/#/
Example 5
X = [0:4:20]
Y = randi(100,6,3)
stackedplot(X,Y)
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4686/column-1-column-2-column-3/#/
Example 6
load outdoors
outdoors(1:3,:);
degreeSymbol = char(176);
newYlabels = {'RH (%)',['T (' degreeSymbol 'F)'],'P (in Hg)'};
stackedplot(outdoors,'Title','Weather Data','DisplayLabels',newYlabels);
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4688/rh-t-f-p-in-hg/#/
Example 7
load outdoors
outdoors(1:3,:);
s = stackedplot(outdoors);
s.LineWidth = 2;
s.LineProperties(2).PlotType = 'scatter';
s.LineProperties(3).PlotType = 'stairs';
fig2plotly(gcf, 'offline', offline);
https://chart-studio.plotly.com/~galvisgilberto/4690/humidity-temperaturef-pressurehg/#/
Example 8
data = {...
struct(...
'x', { {'2013-10-04 22:23:00', '2013-11-04 22:23:00', '2013-12-04 22:23:00'} }, ...
'y', [1, 3, 6], ...
'type', 'scatter')...
};
plotly(data);
from plotly_matlab.
Related Issues (20)
- docs - coneplot problems
- docs - bubblecloud not implemented
- docs - surfl access does not work
- docs - pie3 subplot legend not properly captured
- docs - 3d line problems HOT 1
- docs - 3d histogram colors not working HOT 1
- docs - parallerplot not implemented
- docs - pie3 subplot's legend wrongly captured HOT 1
- docs - polarplot/polarscatter/polarbubblechart problems
- docs - tsuf special characters in legend not translated
- docs - scatter3 - legend and axis proportions not captured HOT 1
- docs - plot - legend capture warning HOT 1
- docs - quiver 3 problem HOT 1
- docs - errorbar plot HOT 1
- [solved] fix the figure title with </b> tag behind
- Ability to support group hierarchy (nested groups) for all IdPs HOT 1
- plotlysetup_online() command returns error HOT 1
- getplotlyfig() Error
- Latex math in html file not rendering in browser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotly_matlab.