Drawing (2d) figure without DISPLAY set
Show older comments
I have an existent function which draws a page with plotted lines from data. We have to run this function overnight on various datasets from several users using an automated ('at') command. Running it this way provides no graphical environment, i.e. the DISPLAY variable is not set. Therefore I'm looking for a way to run headless and save the results to a file (likewise PNG or PDF). The difficult parts seems to be just this: I experimented with various commandline options -nodisplay -noFigurewindows and also with the 'Visible' parameter of the figure command - without DISPLAY set I couldn't generate any graphics ... I'm now looking for more information about those commandline parameters, what they are doing and under which circumstances they should/could be applied. Although I found pieces of information in the documentation and the community discussion nothing did really solve my problem. I grateful for any hints regarding this issue.
1 Comment
2000rogers
on 1 Mar 2016
Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!