![]() ![]() The arguments of the legend() function are string variables for each line plot, and a number which represents the position where the legend is going to be displayed on the graphic window. 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(). If you managed to do the job in Scilab please answer your own question it would be a pleasure to upvote it Stéphane Mottelet. Sfgrayplot smooth 2D plot of a surface defined by a function using colors. Matplot properties Description of the Matplot entities properties. Matplot1 2D plot of a matrix using colors. Matplot 2D plot of a matrix using colors. For this we need to enter at the Scilab console the following instructions: LineSpec to quickly customize the lines appearance in a plot. 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |