Highlights from
Plotly | Online MATLAB Graphing

  • Add_Colorbar_to_Plot_1
  • Add_Colorbar_to_Plot_2
  • Add_Latex_to_Plot
  • Add_Lines_to_Plot_1
  • Add_Text_to_Plot_1
  • Add_Text_to_Plot_2
  • Animation
  • Area_Bar_Pie_Charts_with_...
  • Area_Plot
  • Bar_Plot_3D
  • Colormap_Chart
  • Contour_Plot
  • Curve_Fit_with_Confidence...
  • Display_Image_1
  • Display_Image_2
  • Display_Image_3
  • Errorbar_Plot
  • Fill_Plot
  • Function_Contour_Plot
  • Function_Mesh_Plot
  • Function_Plot_1
  • Function_Plot_2
  • Function_Plot_3D
  • Function_Polar_Plot
  • Function_Surface_Plot
  • Graph_Plot
  • Histogram_Plot
  • Horizontal_Bar_Plot
  • Lighting_Flat
  • Lighting_Phong
  • Line_Plot_2D_1
  • Line_Plot_2D_2
  • Line_Plot_2D_3
  • Line_Plot_3D
  • Loglog_Plot
  • Mesh_Plot
  • Pie_Chart_2D_1
  • Pie_Chart_2D_2
  • Pie_Chart_3D
  • Plot_in_Plot
  • Polar_Plot
  • Publication_Quality_Graphics
  • Quiver_Plot_2D
  • Quiver_Plot_3D
  • Ribbon_Plot
  • Rose_Plot
  • Scatter_Plot_2D
  • Scatter_Plot_3D
  • Semilogx_Plot
  • Semilogy_Plot
  • Shading_Styles
  • Stacked_Bar_Chart
  • Stairstep_Plot
  • Standard_Line_Colors
  • Standard_Line_Styles
  • Standard_Plot_Markers
  • Stem_Plot_1
  • Stem_Plot_2
  • Streamline
  • Subplot_1
  • Subplot_2
  • Surface_Contour_Plot
  • Surface_Plot_1
  • Surface_Plot_2
  • Triangular_Plot
  • Two_Waves
  • Two_Y_Axes_Plot_1
  • Two_Y_Axes_Plot_2
  • Vertical_Bar_Plot
  • Wind
  • addplotlystartup(startupP...
    [1]looks at statup.m files specified by the entries of startupPaths
  • base64decode(x, outfname,...
    BASE64DECODE Perform base64 decoding on a string.
  • cell2json(s)
  • check_escape(val)
    adds '\' escape character if needed
  • compareImages(baseDir,tes...
    HANDLES IMAGE COMPARISON/LOG CREATION
  • convertFigure(f, strip_st...
    convertFigure - converts a matlab figure object into data and layout
  • dateTimeScale(a, xaxis, y...
  • double_pendulum(t, y, m, L)
    System of ODEs for a double pendulum (mass m and link length L)
  • extractAxes(axhan, a,layo...
    extractAxes - create an axes struct
  • extractAxesGeneral(axhan,...
    extractAxesGeneral - copy general axes struct attributes
  • extractColorBar(d, strip_...
    extractColorBar - create a data struct for the colorbar
  • extractDataAnnotation(d, ...
    extractDataAnnotation - create a general purpose annotation struct
  • extractDataBar(d, layout,...
    extractDataScatter - create a data struct for scatter plots
  • extractDataBar(d, layout,...
    extractDataScatter - create a data struct for scatter plots
  • extractDataBox(d, xid, yi...
    extractDataBox - create a data struct for box plots
  • extractDataContourMap(d, ...
    extractDataContourMap - create a data struct for contour maps
  • extractDataGeneral(d, data)
    extractDataGeneral - copy general data struct attributes
  • extractDataHeatMap(d, xid...
    extractDataHeatMap - create a data struct for heat maps
  • extractDataScatter(d, xid...
    extractDataScatter - create a data struct for scatter plots
  • extractDateTicks(tick_lab...
  • extractFont(d)
    Plotly supported fonts
  • extractLayoutGeneral(f, l...
    General attributes of the layout.
  • extractLegend(a,ah)
    extractLegend - create a legend struct
  • extractTitle(than,d, xa, ...
    extractTitle - create an annotation struct for plot titles
  • fig2plotly(varargin)
    fig2plotly - plots a matlab figure object with PLOTLY
  • findDataType(m_data, m_axis)
  • formatRW(inputStr)
    adds whitespace after \reservedwordplot(1,1);
  • generateBoxData(outliers,...
    set number of data points
  • getplotlyfig(file_owner, ...
  • getuserdir
    GETUSERDIR Retrieve the user directory
  • http_createHeader(name,va...
    http_createHeader Simple function for creating input header to urlread2
  • http_paramsToString(param...
    http_paramsToString Creates string for a POST or GET requests
  • is_octave ()
    subfunction that checks if we are in octave
  • json=savejson(rootname,ob...
    % json=savejson(rootname,obj,filename)
  • json=saveubjson(rootname,...
    % json=saveubjson(rootname,obj,filename)
  • loadjson(fname,varargin)
    % data=loadjson(fname,opt)
  • loadplotlyconfig()
    check if config exist
  • loadplotlycredentials()
    check if credentials exist
  • loadubjson(fname,varargin)
    % data=loadubjson(fname,opt)
  • m2json(val)
  • makecall(args, origin, st...
  • mapColors(c, limits, colo...
    normalize
  • openurl (url)
  • opt=varargin2struct(varar...
  • parseColor(c)
    c is a 1x3 vector
  • parseFill(d, data, CLim, ...
    parseFill - parses fill attribute for area plots
  • parseLatex(inputStr,d)
    parseLatex(inputStr,d) converts TeX, and LaTeX
  • parseLine(d)
    build marker struct
  • parseMarker(d, CLim, colo...
    build marker struct
  • parseText(input_text)
  • plotly(varargin)
    plotly - create a graph in your plotly account
  • plotly_version()
  • plotlyhelp(varargin)
  • plotlylayout(varargin)
    plotlylayout- apply layout to a plotly plot
  • plotlysession(varargin)
  • plotlysetup(varargin)
    [1] adds plotly api to matlabroot/toolboxes. If successful do [2]
  • plotlystyle(varargin)
    plotlystyle - apply style to the traces of a plotly plot
  • reevaluateDomains(x_axis,...
    find current domain range
  • response_handler(response...
  • s=mergestruct(s1,s2)
  • saveplotlyconfig(plotly_d...
    Save plotly config info.
  • saveplotlycredentials(use...
    Save plotly authentication credentials.
  • saveplotlyfig(figure_or_d...
  • setColorProperty(prop, co...
    if one direct color
  • signin(varargin)
    SIGNIN(username, api_key) Sign In to a plotly session
  • signup(username, email)
    SIGNUP(username, email) Remote signup to plot.ly and plot.ly API
  • stft (a,win,overlap,nfft)
  • stripTitle(title)
  • struct2json(s)
  • testF2P(varargin)
  • test_getplotlyfigure(requ...
  • urlread2(urlChar,method,b...
    urlread2 Makes HTTP requests and processes response
  • val=jsonopt(key,default,v...
    % val=jsonopt(key,default,optstruct)
  • demo_jsonlab_basic.m
  • demo_ubjson_basic.m
  • jsonlab_selftest.m
  • jsonlab_speedtest.m
    % Benchmarking processing speed of savejson and loadjson
  • matlab_basic_area.m
  • matlab_basic_bar.m
    PLOTLY
  • matlab_basic_box_plot.m
    some random points
  • matlab_basic_fft.m
    read audio text file
  • matlab_basic_heatmap.m
    PLOTLY
  • matlab_basic_histogram.m
    some random points
  • matlab_basic_line.m
    PLOTL Y
  • matlab_basic_stft.m
    read audio text file
  • matlab_bubble_chart.m
    PLOTLY
  • matlab_contour_subplots.m
    PLOTLY
  • matlab_graph_plot.m
    Create the onnectivity graph of the Buckminster Fuller geodesic dome
  • matlab_grouped_bar.m
    PLOTLY
  • matlab_horizontal_histogr...
    horizontal histogram
  • matlab_legend_inside.m
    PLOTLY
  • matlab_legend_outside.m
    PLOTLY
  • matlab_line_and_scatter_b...
    sampling rate
  • matlab_line_markers.m
    Generate some data using the besselj function
  • matlab_line_style.m
  • matlab_log_log_line.m
    Set the axis limits
  • matlab_meshgrid_contour.m
    PLOTLY
  • matlab_overlaid_bar.m
    bins
  • matlab_overlaid_histogram.m
    stacked histogram
  • matlab_scatter_plot.m
    Load undersea elevation data
  • matlab_seamount_scatter.m
    PLOTLY
  • matlab_semi_logy.m
    Create some data
  • matlab_simple_contour.m
    PLOTLY
  • matlab_simple_inset.m
    Create data
  • matlab_spy_chart.m
    PLOTLY
  • matlab_stacked_bar.m
    Create data for childhood disease cases
  • matlab_stacked_histogram.m
    stacked histogram
  • matlab_stream_test.m
  • matlab_style_bar.m
    bins
  • matlab_symmetric_error_ba...
    PLOTLY
  • matlab_text_chart_basic.m
    Label some points
  • matlab_three_subplots.m
    Calculate the data for the plots
  • matlab_two_axes_plot.m
    Create some data for the two curves to be plotted
  • matlab_two_axes_plot_bar.m
    Create the data for the plots
  • matlab_two_axes_plot_style.m
    domain
  • test_getplotlyfig_script.m
  • test_saveplotlyfig.m
  • View all files

5.0

5.0 | 4 ratings Rate this file 73 Downloads (last 30 days) File Size: 2.26 MB File ID: #42202
image thumbnail

Plotly | Online MATLAB Graphing

by

 

18 Jun 2013 (Updated )

Publish your MATLAB figures to the web with one line of code.

| Watch this File

File Information
Description

Plotly (https://plot.ly/) is an online graphing platform that makes generating and sharing interactive, publication-quality figures easy.. This package converts your MATLAB figures into online Plotly graphs with a single line of code:
```
[X, Y, Z] = peaks;
contour(X,Y,Z,20)
fig2plotly()
```
This code generates this graph in your browser: https://plot.ly/~demos/1574
For more, see the official documentation at https://plot.ly/MATLAB.

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
23 Jul 2014 Calum

Really good bit of code - works well and the web-rendering looks nice. Looking forward to the surf and mesh plots.

14 Jul 2014 Mateo Sundquist

The MATLAB conversions literally let you add fig2plotly() to the end of your code and make a shareable, web-based MATLAB graphs. And it's interactive!

14 Jul 2014 James  
14 Jul 2014 Chris

Really incredible. I convert all of my figures to online Plotly graphs now -- they're interactive and the PNG export is much higher quality.

13 Aug 2013 German  
27 Jun 2013 Jan Simon

For more than the half of the examples I get a running progress indicator only. Therefore I hesitate to use this for productive work.

27 Jun 2013 Tom

Just a note- plot.ly/API doesn't work for me (page not found), but https://plot.ly/api does.

Updates
18 Jun 2013

Updated docs

26 Jun 2013

Added contact info.

27 Jun 2013

Fixed bug in API sign-up

25 May 2014

Link to the GitHub repo.

24 Jul 2014

Update image

Contact us