To include legend into a scilab plot there is no GUI based method as in MATLAB. At least, there are none that i know of.
Instead we use the following commands after the figure has been plotted.
g = gcf();
legend(g, ['Legend entry 1','Legend entry 2'],-5);
The last argument decides the location of the legend in the plot. -5 puts it outside the plot on the top left side. Vary this argument to find other positions.
Peace.
Instead we use the following commands after the figure has been plotted.
g = gcf();
legend(g, ['Legend entry 1','Legend entry 2'],-5);
The last argument decides the location of the legend in the plot. -5 puts it outside the plot on the top left side. Vary this argument to find other positions.
Peace.