MATLABFIGVIEWER
From BAWiki
Basic Information
Name of Program
matlabfigviewer
Version-Date
March 2016
Description-Date
March 2016
Catchwords
Matlab
'*.fig'
Figure
Plot
MATLAB
Acknowledgment: This project took advantage of netCDF software developed by UCAR/Unidata (www.unidata.ucar.edu/software/netcdf/).
Short Description of Functionality
The application matlabfigviewer allows to view files in Matlab figure format (*.fig) with no licensed Matlab installed. After opening the Matlab figure file it is possible to adjust plot size, line width, font size and the Renderer as well as to export the figure to different formats. Additionally, it is possible to zoom to details of the displayed figure and to individually extract values from the plot. The application matlabfigviewer is called via the console using the command matlabfigviewer and passing the matlab-figure-files as arguments, e.g.:
matlabfigviewer Figure1.fig
This command opens Figure1.fig for viewing.
matlabfigviewer *.fig
This command opens all figures which end on .fig in the current directory for viewing.
Additional optional arguments are the limits of the y-axis after passing the key word ylimval and the location of the legend after passing the key word legendlocation. If these key words are used matlabfigviewer will not open the figure files, but instead is changing the limits of the y-axis or the location of the legend and saving the figure in the given file, e.g.:
matlabfigviewer Abbildung1.fig ylimval [-4 4]
This command changes the limits of the y-axis to -4 to 4 without opening the file.
matlabfigviewer *.fig legendlocation northwest
This command works on all figures which end on .fig in the current directory and changes the legend location to northwest, i.e. top-left.
matlabfigviewer *.fig legendlocation northwest ylimval [-4 4]
In this command legendlocation and limits of the y-axis are changed simultaneously.
Possible statements for the legend location are the original matlab statements:
north, south, east, west, northeast, northwest, southeast, southwest, northoutside, southoutside, eastoutside, westoutside, northeastoutside, northwestoutside, southeastoutside, southwestoutside, best, bestoutside, none
With the statement "none" it is therefore possible to turn the legend off.
Input-Files
All files in Matlab figure format (*.fig)
Output-Files
The displayed figure can be saved in all formats supported by Matlab (*.JPG,*.PNG,*.PDF,*.EPS,*.FIG,*.BMP,*.PCX,*.PBM,*.PGM,*.PPM,*.SVG,*.TIF).
Methodology
The matlab command openfig() is used for opening the given files.
Program(s) to run before this Program
DISPLAY_PERCENTILES PLOTPROFILZEIT PLOTTS QUICKPLOT TAYLORDIAGRAM
Program(s) to run after this Program
Additional Information
Language
Additional software
Linux: MATLAB Compiler Runtime MCR R2015a in directory /usr/local/MATLAB/R2015a
Original Version
Maintenance
Documentation/Literature
http://de.mathworks.com/help/matlab/ref/openfig.html
See also under MATLAB.
back to Program Descriptions