The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: appending figures in eps2 files
Replies: 2   Last Post: Sep 14, 2009 12:29 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mike Hoversten

Posts: 13
Registered: 10/27/06
appending figures in eps2 files
Posted: Sep 14, 2009 11:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to write multiple figures to an eps2 file. My code is:

if(plot_h <= 0)
num_Figs = num_Figs + 1;
plot_h = figure(num_Figs);

num_plots = num_plots+1;

[status,lab] = make_plot() % plots to figure 1

if(num_plots == 1)
% put figure in file
print('-f1','-depsc2', [f_path,pdffilename]);
print('-f1','-depsc2', '-append', [f_path,pdffilename]);

I get the following error message:

??? Error using ==> print at 315
EPS file describes a single page, append option is illegal with chosen
PS device

What have I done wrong?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.