The image matrix is converted from uint to double, and the imshow default double is between 0~1, so the workaround imshow (i/256) or imshow (i,[]).
axis on, axis normalthe function is to set the range and display of the axes.
Title adds a name to the graphic.
Xlabel (' \theta ') add an x-coordinate callout.
Ylabel (' \rho ') Add a y-coordinate callout.
In the general default case, MATLAB uses the plot function to draw the graph each time, will produce a graph againForm window. However, it is sometimes desirable that subsequent graphs be compared with the drawings drawn earlier. In general there are two ways:One is to use the Hold On (/off) command, the newly generated graphics curve superimposed on the existing graph;
The second is to use the subplot (m,n,k) function, separate the graphics window into N mx sub-graph, and select the K figure as the current graph
, thendraw multiple small shapes in the same view window.
Plot (Y)
If Y is an array of MXN, with 1:m as the x-axis, each column in Y is the y-coordinate, and the n curve is plotted;
If y is a vector of nx1 or 1XN, then the 1:n is the horizontal axis, and y is the coordinate table to draw 1 curves;
If Y is a complex number, plot (y) is equivalent to plot (real (y), imag (y)), and the imaginary part in the coordinate data is ignored in other usage cases.
Plot (X1,y1,...) If both x and Y are arrays, draw coordinate data by column, at which point they must have the same dimensions;
If x and Y are one of the vectors and the other is an array, the dimensions equal in x and Y correspond to draw multiple curves;
If x and Y are one of the scalars and the other is a vector, then the vertical x or y-axis discrete points will be drawn.
plot (X1,y1,linespec,...) The Curve property of the curve is specified by the parameter Linespec, which includes the Linetype, marker, and color. The plot function supports drawing any group of graphs at the same time .
Plot (Axes_handle,...) Specifies the coordinate system, which is the drawing in the Axes_handle coordinate system, which defaults to GCA when not specified. h = Plot (...) Returns a handle to all the curve handle objects created by plot. Each curve corresponds to a handle, and if there are n curves, h is an array of nx1.
Matlab picture shows imshow axis title Xlabel Ylabel plot