In my Livescript called test.mlx, I have variables
daystemperatures
I now want to write a function m file that outputs a plot with specification as
plot(days, temperatures)legend('temperatures')title('Figure 4. Temperatures')
Then, what I did is to write a function m file called plot1.m
function plot_test(series1, series2, figurenumber)plot(series1, series2)legend('series2')end
Then how should one understand the title part?
Best Answer