Use SVG plots when Publish-ing to HTML
Show older comments
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
Pierce
on 18 Sep 2013
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.
Julian
on 14 Mar 2014
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...
juhisteri
on 17 Jun 2021
I made one solution to publish codes in Moodle in Finnish.
- example http://integraali.com/matlab2moodle/SVGinesim-muokattu.html
- code http://integraali.com/matlab2moodle/matlab2moodle.zip
Answers (0)
Categories
Find more on Graphics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!