Nice! We can see how the fig2plotly.m function is able to parse all the relevant information for the MATLAB figure object and generate an awesome looking plot, the data for which is now stored on the cloud! This means you'll never have to worry about where your data is saved on your computer and you can share your newly created plot by simply embedding the link within your website or throwing it over to Facebook or Twitter!

Another great thing about Plotly is the interactivity of the graphs. Try scrolling over the newly created plot to view the labelled data. Holding shift while clicking and dragging allows you to pan. Click and drag to zoom and double click to revert back to the original view.

We can also now take advantage of the interactive web app! You can view/edit all our newly created plots on your online account. By default fig2plotly.m will open your default browser and load your Plotly account to view the newly created plot. All the data associated with the plot has been conveniently stored in a spreadsheet that can be accessed by clicking on the the "View data" link on the right (image below).