Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Surface Plot with 2 Z-Axes
Date: Thu, 17 Jul 2008 00:10:20 +0000 (UTC)
Organization: UBC
Lines: 20
Message-ID: <g5m2lc$bcb$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216253420 11659 172.30.248.38 (17 Jul 2008 00:10:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 17 Jul 2008 00:10:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1442824
Xref: news.mathworks.com comp.soft-sys.matlab:479876



I would like to produce a plot composed to two components.

First, a usual surface plot (eg. surf(X,Y,Z) )

Second, I would like to have a line plotted on the X-Z plane
of the previous plot, but with a second Z-axis. 

The two components would share the same X-axis, but have
different Z-axes. The Y-values of the second component
should be such that the line is at the back of the box.

Does anyone know how to set the Z-axis to appear on the
right side of the box?

Is there an analogy to set(gca,'XAxisLocation','right') that
works in Z?

Thanks!

Patrick