Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Surface Plot with 2 Z-Axes

Subject: Surface Plot with 2 Z-Axes

From: Patrick Fletcher

Date: 17 Jul, 2008 00:10:20

Message: 1 of 2

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

Subject: Surface Plot with 2 Z-Axes

From: vedenev

Date: 17 Jul, 2008 04:35:55

Message: 2 of 2

I am not sure if it possible. You can draw second z-axis using plot3,
text functions

------------------------------------
Maxim Vedenev, Matlab freelancer
http://simulations.narod.ru/

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
surf Patrick Fletcher 17 Jul, 2008 12:52:55
axes Patrick Fletcher 17 Jul, 2008 12:52:55
axislocation Patrick Fletcher 17 Jul, 2008 12:52:55
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics