Posts Tagged ‘ylabel’
Matlab Using FFT
This demonstration uses the FFT function to analyze the variations in sunspot activity over the last 300 years. Read More
Matlab Core Graphics Objects
Core graphics objects include basic drawing primitives: Read More
Tags: annotation, axes, bar, camera commands, Children, contour3, Controlling Graphics Output, Core Graphics Objects, fill3, function, Graphics, gtext, image, light, line, loglog, matlab, mesh, NextPlot, patch, pcolor, plot, plot3, Position, rectangle, surf, surface, text, title, Units, view, xlabel, XLim, ylabel, YLim, zlabel, ZLim
Adding Text Annotations to Graphs
What Are Text Annotations?
Text annotations are boxes containing text strings that you compose. The box can have a border and a background, or be invisible. The text can be in any installed text font, and can include TeX or LaTeX markup. You can add free-form text annotations anywhere in a MATLAB figure to help explain your data or bring attention to specific points in your data sets. Read More
Tags: and TEX Characters, BackgroundColor, EdgeColor, Examples, Expression, Extent, find, get, graph, Greek Letters, gtext, HorizontalAlignment, Interpreter, Latex, LineStyle, LineWidth, Margin, Mathematical, Mathematical Expression, Mathematical Symbols, matlab, num2str, plotedit, Position, Positioning Annotations in Data Space, string, Support, Symbols, table of available TEX, text, Text Alignment, Text in Cell Arrays, title, uicontrol, VerticalAlignment, xlabel, ylabel, zlabel
Creating m-files in Matlab
Open an edit window where we can write the command lines. Click on the white sheet in the menu under File or simply write edit in the command window. Alternatively File->New ->M-file. The following is written in the edit window: Read More
plot
plot Linear plot.
plot(X,Y) plots vector Y versus vector X. If X or Y is a matrix,
then the vector is plotted versus the rows or columns of the matrix,
whichever line up. If X is a scalar and Y is a vector, length(Y)
disconnected points are plotted. Read More