livescript: Plots not appearing in PDF export

27 views (last 30 days)
David Jones
David Jones on 13 Sep 2019
Answered: iman sor on 21 Jul 2023
Hi,
I've having trouble exporting livescripts into a PDF.
When I create a livescript file in Matlab 2018b (Mac OS), run it (with plot commands) the figure of the plots appear and I successfully export it (with figure plots) to PDF.
However, when I use the same livescript file in Matlab 2018b (Windowns 10) and run it. The figures appear in MATLAB but they do not appear in the exported PDF.
Any ideas how to correct this?
Thanks,
David
  1 Comment
Michael
Michael on 15 Apr 2020
I am having this same problems all of a sudden with one of my LiveScripts. Word and HTML outputs look okay though.

Sign in to comment.

Answers (2)

Vignesh Babu Rao
Vignesh Babu Rao on 19 Oct 2020
I have the same problem with Matlab 2020b on Windows. But export to word worked for me. Finally ended up converting word to pdf. Just a workaround (assuming export to word works) until they fix this issue.
  1 Comment
Cris LaPierre
Cris LaPierre on 19 Oct 2020
I suggest contacting technical support as well. They can't fix what they don't know about.

Sign in to comment.


iman sor
iman sor on 21 Jul 2023
I had the same problem, but if you first save the script and then try to export it as PDF it should work. (at least it worked for me)

Categories

Find more on Graphics Object Identification in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!