Path: news.mathworks.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!news.mathforum.org!not-for-mail
From: "giordano.sagredo@gmail.com" <giordano.sagredo@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Figure format (tick marks) changed when using print -depsc
Date: Sun, 22 Feb 2009 18:05:30 EST
Organization: The Math Forum
Lines: 13
Message-ID: <19153240.1235343961217.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1235343961 32330 144.118.30.135 (22 Feb 2009 23:06:01 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Sun, 22 Feb 2009 23:06:01 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:520046


I made a 3-d figure using scatter3(x,y,z).

Then, changed the tickmarks using:
set(gca,'XTickLabel',num2str([-axlims:2:axlims]'))
set(gca,'YTickLabel',num2str([-axlims:2:axlims]'))
set(gca,'ZTickLabel',num2str([-axlims:2:axlims]'))

It looks gorgeous, perfectly fine in the figure on my screen. Then when I save to eps using:
print -depsc foo

It ends up changing the tick marks on the Z-axis so they are every single unit, not every two as specified in my command line code (and as appeared just fine in my figure).

Help please?