Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Suppress Plot Unit Modifiers
Date: Sat, 29 Mar 2008 18:00:16 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 24
Message-ID: <fsm03g$pp6$1@canopus.cc.umanitoba.ca>
References: <fsluas$gr0$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1206813616 26406 192.70.172.160 (29 Mar 2008 18:00:16 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Sat, 29 Mar 2008 18:00:16 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:459838



In article <fsluas$gr0$1@fred.mathworks.com>,
David Doria <daviddoria@gmail.com> wrote:
>Sometimes when I make a plot, if the x tic values are 1000,
>2000 etc, it will show them as 1, 2, etc

>and then put 
>x10^3

>in the bottom right of the plot.

>1) is there a way to set this location? It usually ends up
>in an awkward spot, I'd like it inline with the xlabel

I do not know of any way to control the position. It is not in
any property that I have been able to find.


>2) can you tell it "dont put this unit modifier"?

set(gca,'XTickLabel',num2str(get(gca,'XTick').'))
-- 
  "The whole history of civilization is strewn with creeds and
  institutions which were invaluable at first, and deadly
  afterwards."                                -- Walter Bagehot