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: Remembering recent directory
Replies: 1   Last Post: Jun 17, 2013 10:33 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,922
Registered: 12/7/04
Re: Remembering recent directory
Posted: Jun 17, 2013 10:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Tuesday, June 18, 2013 1:57:27 PM UTC+12, runcyclexcski wrote:
> Hi all,
> I often analyse data and generate figures from the ML command line, w/o writing a script. If I have ~10 figures to save one by one, ML never seems to remember the directory where Fig N is saved: for Fig N+1 I have to navigate down the entire tree for its to be saved in the proper place (usually close in the tree to Fig N). All my scripts have the recent dir recall implemented, but the default ML behavior seems to not remember the recent dir. Is there a way to fix this?
> Thank you all!

If you save the figure using print from the command line, it's easy:
print('-depsc','-tiff',[pth 'Plot1'])

now up arrow and change 1 to 2
print('-depsc','-tiff',[pth 'Plot2'])


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.