Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

couple of questions about ListPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99594] couple of questions about ListPlot3D
  • From: "Luc Barthelet" <luc at tirnua.com>
  • Date: Fri, 8 May 2009 00:20:11 -0400 (EDT)

I am using ListPlot3D to build elevation maps with different terrain 
types based on elevation. (to be used in with Google maps).



Question #1: is there an option to prevent blending of MeshShading 
colors?

To that extend I am using the directive MeshShading->myMapColors which 
works really well.



This is working well in general, but in one case I need to prevent the 
Antialisaing that is occuring between layers.

I need my final result to only include the colors in the list 
myMapColors and no mixing of those colors.



Of course I have Lighting->{"Ambient",White} .



Any clue if that is possible?



One work around I have found is to set the MeshShading to gray levels 
and then quantize the image and then remap to my colors.

Any other solution?



Question #2: How can can I get partial ListPlot3D that match at the 
edges?

I need to create maps as big as 8192x8192 and doing in single ListPlot3D 
fails because it runs out of memory. (or rather puts my PC in virtual 
Memory lock)



I have tried unsuccessfully to control  PlotRange to create images using 
ListPlot3D so that I could 'pan' over my map and create the tiles of 
high resolution images of size 256x256 that google map needs. It would 
work if it was not for the fact that  the left pixel of every row and 
top pixels seem to always be mixed at about 50% of something else 
(background I believe). I have wasted a lot of time trying to change the 
viewpoint to try to fix that with no luck.



I have not tried to use regions yet. Would that be more likely to 
succeed?





Thanks,

Luc



  • Prev by Date: Re: TraditionForm Appears to be Inconsistent
  • Next by Date: Re: copy and paste to other programs
  • Previous by thread: Re: ColorFunction on a linux system (xorg) loses graphics
  • Next by thread: Re: couple of questions about ListPlot3D