Where can I find code that is written to plot functions better than the built-in MATLAB plotting functions?

2 visualizaciones (últimos 30 días)
Where can I find code that is written to plot functions better than the built-in MATLAB plotting functions?
  10 comentarios

Iniciar sesión para comentar.

Respuestas (4)

Walter Roberson
Walter Roberson el 19 de Sept. de 2012
A lot of people find the MATLAB File Exchange contribution "plt" to be useful.

Jan
Jan el 20 de Sept. de 2012
Can PowerPoint import SVGs? If so, FEX: Plot2SVG is a nice solution. If not, PowerPoint is a kind of boring.

owr
owr el 27 de Sept. de 2012
Ive been creating alot of ppt presentations lately with snapshots of figures from MATLAB. To facilitate this, I created a short cut with the following commands:
set(gcf,'Color',[1 1 1]);
imclipboard('copy', export_fig());
Both "imclipboard" and "export_fig" can be found on the File exchange (big thanks to the authors).
My process is simple:
1) Generate the plot I want in MATLAB. 2) Maximize the figure window 3) Click on my shortcut (or whatever method you want to run those 2 lines of code) 4) Open PPT to the slide I want 5) Ctrl-V to paste the image (I'm on a PC with Windows 7) 6) Position/resize the image in appropriately PPT.
Maybe this will help?
Ive also used this trick hundreds of times to embed images in (Outlook) emails for my colleagues.

Robert Cumming
Robert Cumming el 27 de Sept. de 2012
Sounds like you want to perform a copy that is vector graphics - rather than a snapshot.
I used to export images to PPT but due to this issue I stopped exporting (via publish) to PPT and now produce .ps files via the print command and convert the postscript (ps) file to a PDF - that way I get my images into a file and the user can zoom in as far as they want and quality is not lost. :)
I use the standard print command for the job - or Jan has already linked a FEX which can save files as SVG - according to this link it should be possible to copy into office - but I've not tested it.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by