Privacy in MATLAB®
How to set the privacy settings of Plotly graphs in MATLAB®.
Plotly Studio: Transform any dataset into an interactive data application in minutes with AI. Try Plotly Studio now.
Note: We are retiring documentation for R, MATLAB, Julia, and F# in November 2025. Learn more about this change here.
Public Graphs
data = {...
struct(...
'x', [0, 2, 4], ...
'y', [0, 4, 2], ...
'type', 'scatter')...
};
plotly(data, struct('world_readable', true));
Private Graphs
data = {...
struct(...
'x', [0, 2, 4], ...
'y', [0, 4, 2], ...
'type', 'scatter')...
};
plotly(data, struct('world_readable', false));