5.0

5.0 | 1 rating Rate this file 201 downloads (last 30 days) File Size: 8.8 KB File ID: #19352

UISWITCHRENDERER

by Elmar Tarajan

 

28 Mar 2008 (Updated 31 Mar 2008)

No BSD License  

UISWITCHRENDERER adds a pushtool to the figure toolbar for the direct renderer choosing.

Download Now | Watch this File

File Information
Description

Two reasons to set the renderer yourself are
   * To make your printed or exported figure look the same as it did on the
     screen. The rendering method used for printing and exporting the figure
     is not always the same method used to display the figure.
 
   * To avoid unintentionally exporting your figure as a bitmap within a vector
     format. For example, high-complexity MATLAB plots typically render using
     OpenGL or Z-buffer. If you export a high-complexity figure to the EPS or
     EMF vector formats without specifying a rendering method, either OpenGL or
     Z-buffer might be used, each of which creates bitmap graphics. Storing a
     bitmap in a vector file can generate a very large file that takes a long
     time to print. If you use one of these formats and want to make sure that
     your figure is saved as a vector file, be sure to set the rendering method
     to Painter's.
 
  UISWITCHRENDERER
      adds the pushtool to the current figure.
 
  UISWITCHRENDERER(hFig)
      adds the pushtool to the figure with handle hFig.
 
  UISWITCHRENDERER('auto')
      adds the pushtool to the each new created figure automatically.
 
  UISWITCHRENDERER('remove')
      remove the automatically adding of pushtools for new figures.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements tested with R2006a/b R2007a/b and R2008a
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
04 Apr 2008 Aurélien QUEFFURUST

I am used to trying and testing your submissions. My favourite is the WHICHX function. The UISWITCHRENDERER feature is very helpful, it often happens that the renderer is not perfect on my Linux machine. Now with this small button on the toolbor, it is both easy and fast to try the different renderers. Great job Elmar!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Elmar Tarajan 22 Oct 2008 09:55:35
example Elmar Tarajan 22 Oct 2008 09:55:35
renderer gui guide graphics export opengl painters zbuffer toolb Elmar Tarajan 22 Oct 2008 09:55:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com