Skip to content

Commit d507dfa

Browse files
HanSur94claude
andcommitted
docs: add Plotly conversion screenshot to README
Generated from actual MATLAB output converted through the server's plotly_convert + plotly_style_mapper pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e53ea46 commit d507dfa

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,20 @@ Every MATLAB figure is automatically converted into an interactive [Plotly](http
7272

7373
```matlab
7474
% This MATLAB code...
75-
x = linspace(0, 2*pi, 100);
76-
subplot(2,1,1); plot(x, sin(x), 'r--', 'LineWidth', 2); title('Sine');
77-
subplot(2,1,2); plot(x, cos(x), 'b-.o'); title('Cosine');
75+
x = linspace(0, 2*pi, 200);
76+
plot(x, sin(x), 'r-', 'LineWidth', 2); hold on;
77+
plot(x, cos(x), 'b--', 'LineWidth', 2);
78+
plot(x, sin(x) .* cos(x), 'g-.', 'LineWidth', 2);
79+
legend('sin(x)', 'cos(x)', 'sin(x)*cos(x)');
80+
xlabel('x'); ylabel('y');
81+
title('Trigonometric Functions');
7882
```
7983

80-
...returns interactive Plotly JSON with both subplots, red dashed lines, blue dash-dot with circle markers, titles, and layout — all automatically.
84+
...automatically becomes this interactive Plotly chart:
85+
86+
![MATLAB to Plotly Conversion](docs/images/plotly-trig-functions.png)
87+
88+
Line styles, colors, markers, legends, and axis labels are all preserved in the conversion.
8189

8290
## Quick Start
8391

119 KB
Loading

0 commit comments

Comments
 (0)