![]() SUBPLOT('position',) creates anĪxis at the specified position in normalized coordinates (in SUBPLOT(H), where H is an axis handle, is another way of makingĪn axis current for subsequent plotting commands. That covers all the subplot positions listed in P. SUBPLOT(m,n,P), where P is a vector, specifies an axes position SUBPLOT(m,n,p,'align') places the axes so that the plot boxesĪre aligned instead of preventing the labels and ticks from SUBPLOT(m,n,p,'replace'), if the axis already exists, deletes it and SUBPLOT(m,n,p), if the axis already exists, makes it current. Panel is used as the parent for the subplot instead of the If the CurrentAxes is nested in a uipanel the Plots income on the top half of the window and outgo on theīottom half. The axesĪre counted along the top row of the Figure window, then the Into an m-by-n matrix of small axes, selects the p-th axes forįor the current plot, and returns the axis handle. H = SUBPLOT(m,n,p), or SUBPLOT(mnp), breaks the Figure window What follows comes from MATLAB's help function in MATLAB R2009a (some The subplot function is used to plot multiple plot windows Will create a plot with a dark red line width of 2 points. For example, PLOT(X,Y,'LineWidth',2,'Color',) Parameter/value pairs to specify additional properties The X,Y pairs, or X,Y,S triples, can be followed by If you do not specify a line style, PLOT uses a solid line. If you do not specify a marker type, PLOT uses no marker. ![]() PLOT cycles over the axes LineStyleOrder property. Through the first six colors in the table. The defaultĬolorOrder is listed in the table above for color systems where theĭefault is blue for one line, and for multiple lines, to cycle The colors specified by the axes ColorOrder property. ![]() The PLOT command, if no color is specified, makes automatic use of Solid yellow line interpolating green circles at the data points. The (X,Y,S) triples, where the X's and Y's are vectors or matricesįor example, PLOT(X,Y,'y-',X,Y,'go') plots the data twice, with a For example, PLOT(X,Y,'c+:') plots a cyan dotted line with a plusĪt each data point PLOT(X,Y,'bd') plots blue diamond at each data
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |