Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
From: "huhua" <lunamoonmoon@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: change the apperance of mesh surface
Date: Mon, 2 Jun 2008 09:19:55 -0700
Lines: 18
Message-ID: <g216hq$jh$1@news.stanford.edu>
NNTP-Posting-Host: comtech-2007.stanford.edu
X-Trace: news.stanford.edu 1212423547 625 171.64.113.16 (2 Jun 2008 16:19:07 GMT)
X-Complaints-To: news@news.stanford.edu
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Xref: news.mathworks.com comp.soft-sys.matlab:471808



Hi all,

I have a 100x100 image which is real-valued in [0, 1].

I currently use "mesh" to plot a 3D picture of it.

Is there a way to change the appearance such that each Z-direction (the 
height) is represented by a bar shooting up?

This is like the 3D bars in Excel...

Because most elements in my image are around zeros, and there are only very 
few non-zero values. So I think representing them with 3D bars can be very 
good...

Please teach me how to do that. Thank you!