Thread Subject: Change default figure settings

Subject: Change default figure settings

From: Sally

Date: 29 Jul, 2009 20:21:03

Message: 1 of 2

Hi,

I love the look of "axis tight" but hate having to include this line every single time I make a new plot. Does anyone know of a way to permanently change the default setting or to at least keep this for the current session?

Thanks!
-Sally

Subject: Change default figure settings

From: Matt Fig

Date: 29 Jul, 2009 20:51:03

Message: 2 of 2

set(0,'defaultlinecreatefcn','axis tight')

Now put that line in startup.m and everytime MATLAB is started it will run.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com