This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

View File

@@ -0,0 +1,24 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// Direct creation of plots
///////////////////////////////////////////////////////////////////////////////////////////////////
data_1d = [10.0, 20.0, 30.0, 40.0, 50.0]
data_2d = [ data_1d, data_1d, data_1d, data_1d, data_1d]
data_3d = [ data_2d, data_2d , data_2d, data_2d, data_2d]
data_x = [1.0, 2.0, 3.0, 4.0, 5.0]
data_y = [2.0, 4.0, 6.0, 8.0, 10.0]
//1d-plot with optional xdata
plot(data_1d, name = undefined, xdata = data_x, ydata = undefined, title = "1d")
//2d-plot with optional xdata and ydata
plot(data_2d, name = undefined, xdata = data_x, ydata = data_y, title = "2d")
//3d-plot
plot(data_3d, name = undefined, xdata = undefined, ydata = undefined, title = "3d")
//3 plots in the save panel
plot([data_1d, data_2d, data_3d], ["1d", "2d", "3d"])