Re: Changing the shading contrast in ListContourPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg42352] Re: Changing the shading contrast in ListContourPlot
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 2 Jul 2003 06:36:14 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <bds0cf$61a$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
set the PlotRange option to the same value in both
ListContourPlot[], rescale both data arrays to the
same z-value range.
Regards
Jens
JJJ Shen wrote:
>
> Hi, I encountered a question in ListContourPlot and am writing for help and
> advice.
>
> I have two sets of data, which have different ranges in x- and y-. (Say, one
> set of data is from {{-4,4}, {-3,0}}, while another set is from {{-1,1}, {0,
> 1}}) and the z value for the first set is from, say, 0 to 100; while the z
> value for the second set is from, say, 0 to 20.
>
> When I do
>
> ListContourPlot[data1]; ListContourPlot[data2]
>
> both plots have the shading from black to white, but apparently the white
> regions corresponding to very different z value! (in first plot, white
> corresponds to (roughly) 100 while in second set it's about 20!) The problem
> here is that both data sets have different x- and y- range so I cannot
> combine them to get one big data set.
>
> I was wondering if there's a way to "change/downgrade" the shading of the
> 2nd data set? So that the shading of the contour plot of the second data set
> so the shading can be used to compare with the contour plot from the first
> data set?
>
> I'd also appreciate any suggestions on better ways to present the plots.
> Thanks for your time in advance.
>
> Sincerely,
> JT
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail