We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d796e42 commit a333bf9Copy full SHA for a333bf9
test/test_cleanfigure.py
@@ -130,6 +130,23 @@ def test_isInBox():
130
131
132
def test_getVisualLimits():
133
+ """
134
+ octave code
135
+ ```octave
136
+ addpath ("../matlab2tikz/src")
137
+
138
+ x = linspace(1, 100, 20);
139
+ y1 = linspace(1, 100, 20);
140
141
+ figure
142
+ plot(x, y1)
143
+ xlim([20, 80])
144
+ ylim([20, 80])
145
+ set(gcf,'Units','Inches');
146
+ set(gcf,'Position',[2.5 2.5 5 5])
147
+ cleanfigure;
148
+ ```
149
150
x = np.linspace(1, 100, 20)
151
y = np.linspace(1, 100, 20)
152
0 commit comments