![]() ![]() ![]() If we have multiple line plots on the same axes, we need to add also a legend, in order to distinguish between the lines. ![]() It has the same syntax as the labels, and displays the string argument as a centered text above the axes. The arguments are string variables representing the text to be displayed.įor the title of the plot we use the title() function. The axes labels are added with xlabel() and ylabel() functions. The default setting for the grid are: black color and dashed lines. The grid is displayed with the function xgrid(). For this we need to enter at the Scilab console the following instructions: To have a complete plot we need to add a grid, labels for both axes, a title and a legend. With every plot() function we add, new line plots are created on the same graphic window. Image: Multiple line plot on the same axes in Scilab ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |