MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Changing the shading contrast in ListContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42331] Changing the shading contrast in ListContourPlot
  • From: "JJJ Shen" <jushen1 at hotmail.com>
  • Date: Tue, 1 Jul 2003 08:45:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: Re: plot1 and plot2
  • Next by Date: RE: plot1 and plot2
  • Previous by thread: Why can't NIntegrate integrate this well-behaved function?
  • Next by thread: Re: Changing the shading contrast in ListContourPlot