visual3d:documentation:visual_3d_formating:json_formats
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:visual_3d_formating:json_formats [2024/06/19 12:53] – sgranger | visual3d:documentation:visual_3d_formating:json_formats [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{saving data in json (javascript object notation) format is useful for web-based graphing and presentations. json is a human-readable format and is typically used to pass data from a web server to a javascript program in a web browser.\\ | + | ====== JSON Formats ====== |
+ | Saving data in JSON (Javascript Object Notation) format is useful for web-based graphing and presentations. JSON is a human-readable format and is typically used to pass data from a web server to a javascript program in a web browser.\\ | ||
- | the json output file from visual3d | + | |
+ | The JSON output file from Visual3D | ||
\\ | \\ | ||
- | //this option is only available in visual3d | + | //This option is only available in Visual3D |
- | there is an example javascript parsing program available for web graphing of visual3d | + | There is an example javascript parsing program available for web graphing of Visual3D |
\\ | \\ | ||
- | ====== report graph export ====== | + | ===== Report Graph Export |
- | **the first option is used to export the data used in a report graph.** | + | **The first option is used to export the data used in a report graph.** |
\\ | \\ | ||
- | exportreport.png | + | {{:exportreport.png}} |
- | if the mean and standard deviation were displayed in the graph, they will be in the exported data too. the json format for mean and std dev are similar to the normal | + | If the mean and standard deviation were displayed in the graph, they will be in the exported data too. The JSON format for mean and std dev are similar to the normal |
- | the json output is a single array for the graph, with sub-arrays for signal information and for data. | + | The JSON output is a single array for the graph, with sub-arrays for signal information and for data. |
\\ | \\ | ||
Line 26: | Line 28: | ||
{" | {" | ||
- | {" | + | {" |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | "x_axis_label": "time", | + | "X_axis_label": "Time", |
" | " | ||
" | " | ||
}, | }, | ||
- | {" | + | {" |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | "y_axis_label": "degrees" | + | "Y_axis_label": "Degrees" |
" | " | ||
" | " | ||
} | } | ||
]} | ]} | ||
- | ====== export data as ascii command ====== | + | ===== Export Data As ASCII Command |
- | **the more general option** is to use the [[visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file|export_data_to_ascii_file]] **pipeline command**. | + | **The more general option** is to use the [[Visual3D:Documentation:Pipeline:File_Commands:Export_Data_To_ASCII_File|Export_Data_To_ASCII_File]] **pipeline command**. |
- | the resulting | + | The resulting |
- | {"visual3d" : [ | + | {"Visual3D" : [ |
- | {" | + | {" |
- | " | + | " |
- | " | + | " |
- | " | + | " |
" | " | ||
" | " | ||
- | {" | + | {" |
- | {" | + | {" |
- | {" | + | {" |
]} | ]} | ||
]} | ]} | ||
- | }} | + |
visual3d/documentation/visual_3d_formating/json_formats.1718801635.txt.gz · Last modified: 2024/06/19 12:53 by sgranger