When I try to plot in Scilab, no graphic window is generated (see pic). This is a simple plot between two columns of one matrix. Sometimes, I get error saying 'invalid index'. Does anyone know why ?
f is a 1-by-one matrix, i.e. a scalar. When you ask scilab to plot f(:,2) vs. f(:,1), you ask it to plot the second column of f vs. the first one. Since f has only one element, their is no 2nd column and the software returns an error.
@yoann what you are saying is right, but the variable browser says f is 33x2, so what is written in the console (left pane) is somewhat different than what is shown in the right pane.
@praveen may be you should match these two and then re-send the pic of what you enter and what you get as error.
@Mehmet I plotted these two columns as one with x axis and one with y axis. I don't get any error, but the plot window is not generated. See another example below. I try to plot many times, but the window is not generated