📊
Plotting
Charts and figures: line, scatter, bar, histogram, pie, 3D surfaces, and figure control.
axis
Control axis appearance and limits.
axis(mode) → Nothing
bar
Bar chart.
bar(values) → Renders a bar chart
clf
Clear the current figure.
clf() → Nothing
close
Close a figure.
close(which) → Nothing
figure
Create or select a figure.
figure(n) → Nothing
grid
Toggle the plot grid.
grid(mode) → Nothing
histogram
Histogram of values.
histogram(values, bins) → Renders a histogram
hold
Keep the current plot when adding new series.
hold(mode) → Nothing
mesh
3D wireframe mesh plot.
mesh(X, Y, Z) → Renders an interactive 3D wireframe
pie
Pie chart.
pie(values) → Renders a pie chart
plot
Line plot of vectors.
plot(x, y) → Renders a line chart in the cell output
scatter
Scatter plot of points.
scatter(x, y) → Renders a scatter chart
subplot
Select a pane in a multi-plot grid.
subplot(rows, cols, index) → Nothing
surf
3D surface plot.
surf(X, Y, Z) → Renders an interactive 3D surface
text
Place text at coordinates on the plot.
text(x, y, str) → Nothing
title
Set the title of the current plot.
title(text) → Nothing
xlabel
Set the X-axis label.
xlabel(text) → Nothing
xlim
Set X-axis limits.
xlim(min, max) → Nothing
xticks
Set X-axis tick positions.
xticks(positions) → Nothing
ylabel
Set the Y-axis label.
ylabel(text) → Nothing
ylim
Set Y-axis limits.
ylim(min, max) → Nothing
yticks
Set Y-axis tick positions.
yticks(positions) → Nothing
yyaxis
Select the left or right Y axis.
yyaxis(side) → Nothing
zlabel
Set the Z-axis label (3D plots).
zlabel(text) → Nothing