PATCH PLOT - RGB COLOR

1 view (last 30 days)
Franz-Josef
Franz-Josef on 25 Jul 2011
Hello!
I use the path command to plot the results of a finite element computation. I also use the 'Face','interp' option for coloring. So far, I haven't found a way to produce a vector graphic (eps, tiff, ...) from this plot! I think MatLab has some problems with the 'Rederer'!? How can I create a vector graphic from such a plot?
Thank you!
  1 Comment
Jan
Jan on 25 Jul 2011
@Franz-Josef: Why do you think, that Matlab has problems with the renderer? Do the standard methods "print('-depsc')" or "saveas('pdf')" work, and if not, what are the problems?

Sign in to comment.

Answers (1)

Jan
Jan on 25 Jul 2011
If the OpenGL renderer is active, Matlab export pixel graphics even for the EPS and PDF format. This is not a bug or problem, but a limitation of the PostScript format, which does not support 3D natively. Mutual intersection of triangles and translucency cannot be displayed in PostScript. Therefore the EPS will contain a high-resolution pixel image only.
Only the Painters renderer can create native vector formats.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!