This script plots the polarization Stokes vectors (S1, S2, S3) on a Poincare sphere. See "Polarized Light" by Collett (publ. Dekker) for a background on the optics.
Type "poincare" at the Matlab prompt and a graphical window should pop up. Enter an input data file in the GUI, then lick "Plot". You can also save the output graph to a .jpg file.
The input data file format can be modified to...
The TILEFIGS program is used to display multiple figures simultaneously by tiling the screen with all open figures.
TILEFIGS usage: tilefigs ([nrows ncols],border_in pixels)
Restriction: maximum of 100 figure windows
in this GUI the user can easly inter the parameters that is presented in the Figure, then select the wave forme of a source with the out frequancy.
the are six graphics for output like is presented in figure, each one used to visualise a one...
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
Create or switch to a figure without it stealing focus from other windows.
MYFIGURE's behavior is very similar to figure.
The first parameter however can be string instead of a number
For example, instead of calling:
you can now conveniently use:
A very simple script that uses figure callbacks and openGL transparency to produce a visibly toggled state in subplots. Cousin to allowaxestogrow.m.
This routine will shade the area of a 2-D plot between two user defined vectors. Simply pass the two vectors, and their corresponding horizontal coordinates, select your fill color and transparency level and viola! You have a figure that is...
Easily Create Publishable Ready Figures. Change Font Size, Line Width and Background Color. Makes all Axis Labels the same Precision.
Great used with export_fig, but even on its own it makes great looking figures. Easily make a set of...
Ever get irritated that every time you open a figure window, it appears in the same place the last window appeared? Autoplace automatically puts new figure windows in positions that you define.
There are three piles of marbles. You take against the computer. You may take away as many marbles as you want from one pile each turn. Whoever gets the last marble wins. The rules are very simple, but there are many interesting underlying...
This program analyzes the performance of the AC voltage regulator operating on the Sinusoidal pulse width modulation principle under different loading condidtions.
The inputs are:
- The input frequency.
- The modulation...
Plots each data point as a box, and puts each box on the graph in such a way that no boxes overlap. By default produces a standalone plot in a new figure window, but can plot into specified axes as well. See the comments in the function help for...
CMAPLINE finds all lines in an axis and specifies their colors according to a colormap. Also accepts custom colormaps in the form of a n x 3 matrix.
EXAMPLE (generates screenshot)
%generate some data
HWnd = GETHWND retrieves the current figure (gcf)'s underlying Windows handle, thus enabling integration of Matlab GUI in C/C++/C# programs.
HWnd = GETHWND(hFig) retrieves a specific figure's underlying Windows handle. hFig is a...
Change default linewidths of all new and present figures to make publication quality figures
Default value for width is 0.5.
Typical value for width for figure to be used in a publication is 1-2
Simple widget to get the coordinates of a point in a figure or axis.
Just select the current figure and type getpoint. A button with two fields will appear in the upper right corner. click the button, then the point and the coordinates...
GSPLINE(FIG) draws a spline by left - clicking the mouse at the control
points of the spline in the figure FIG. Right clicking will end the spline.
H = GSPLINE(FIG) Returns the handle to the line.
GSPLINE with no input...
Membrane diffusion in a coupled reactor system can cause complex behaviour such as oscillations, period doubling and chaos. Here we study a simple model suggested by Deng-Harrison in 1969. The bifurcation diagram is obtained. We find good...
plotAverage adds an average line into plotted data.
By default, plotAverage
- calculates the average along y (for given or estimated points along x)
- plots errorbars with the standard error of the mean