Path: OpticalNavigation/Terrain
% Prints specified figure to an image file at a specified size. The default type is 'png' and res will be computed, if it is not entered. Type PrintToImage for a demo. The second figure is the saved image. -------------------------------------------------------------------------- Form: PrintToImage( f, fName, pixelWidth res, type ) -------------------------------------------------------------------------- ------ Inputs ------ f (1,1) figure to print fName (1,:) File name pixelWidth (1,1) Pixel width of printed image res (1,1) Screen resolution type (1,:) 'png' or 'jpg' (default png) ------- Outputs ------- none --------------------------------------------------------------------------
Common: ComponentModels/Box
Back to the OpticalNavigation Module page