Export Data - GeneralSarsby/mjs_plot GitHub Wiki

Exporting Data from MJSPlot

Click/tap on the 'e' button in the lower right corner to open up the "export" menu. In this menu you can choose to export both images and data.

The supported export data options are CSV, Code (Javascript, or C style), Matlab style array code, Tab separated, and JSON.

The data that is exported is the current data that is on the graph. This means that hidden lines are not exported, and the result of the current transforms are applied. The zoom and scale of the axes do not effect the exported data.

CSV

This created a text file in the browser contain the data in the form

series_1_x,1,2,3,4,5
series_1_y,4,5,6,7,8

When the file is generated, the browser creates a download so that it can be saved.

Code

Matlab Code

Tabbed

JSON