Use SVG plots when Publish-ing to HTML

Hello,
I use Publish() quite a bit to produce online class notes. It's working well but frankly, I find the PNG plots to be of awful quality. I've tried setting figureSnapMethod='antialiased' and that's a bit better but I mostly find the result fuzzy. One option is to use the myaa antialiasing package found on File Exchange but I find that the results aren't much better than with figureSnapMethod='antialiased'.
What would be awesome is to produce SVG plots. Is there any way to do that? I suppose it would have to involve plot2svg somehow (also from File Exchange) since SVG output seems to be only supported for Simulink models.
Thanks!

3 Comments

I agree, this would be very handy.
In addition, including .eps or .svg in the pdf publishing would be very useful for sharing code and output plots. The only option I have when publishing .pdf is jpeg or bmp which look awful.
I too would really really really welcome this! Frankly I don't think the publication quality is good enough these days, and this is reinforced by Oliver Woodford's continued topping of the charts in File Exchange. I have a lot of experience in MATLAB graphics but I am slightly embarrassed sharing them with customers...
I made one solution to publish codes in Moodle in Finnish.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Asked:

on 16 Jan 2013

Commented:

on 17 Jun 2021

Community Treasure Hunt

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

Start Hunting!