Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14817

Re: ListPlot3d and ListDensityPlot

From J Jesus Rico-Melgoza <ricomelgozajjesus@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: ListPlot3d and ListDensityPlot
Date 2013-06-12 09:24 +0000
Message-ID <kp9eou$2sm$1@smc.vnet.net> (permalink)
References <ko9io1$kd9$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Thanks
I have done the following:

Imag2 = ListPlot3D[Table[Sin[.2 x] Sin[.2 y], {x, -20, 20}, {y, -20, 20}]]
Imag1 = ListDensityPlot[
  Table[Sin[.2 x] Sin[.2 y], {x, -20, 20}, {y, -20, 20}], Frame -> None]
plane = Table[-2, {i, 40}, {j, 40}];
ListPlot3D[{Table[Sin[.2 x] Sin[.2 y], {x, -20, 20}, {y, -20, 20}], plane},
 BoxRatios -> 1, Mesh -> None, BoxRatios -> 1, Mesh -> None,
 TextureCoordinateFunction -> ({#1, #2} &), TextureCoordinateScaling ->
True,
 PlotStyle -> Texture[Imag1]]


 I have to draw a plane a then color it using the image generated by the
LineDensityPlot.


The result is not very nice though!


Jesus




2013/6/11 debguy <johnandsara2@cox.net>

> Mathematica's Show[ g1, g2 ] combines graphics.  GraphicsArray is
> another way.  There are various ways to plot density graphics.
>
> ListPlot3D[Table[Sin[.2x] Sin[.2y], {x, -20, 20}, {y, -20, 20}]]
>
> ListDensityPlot[Table[Sin[.2x] Sin[.2y], {x, -20, 20}, {y, -20, 20}]]
>
> Show[Graphics[Raster[
>       Table[Sin[.2x] Sin[.2y], {x, -20, 20}, {y, -20, 20}]]]]
>
> ~DensityGraphics~[[1]] is a simple data list and plotted "specially"
> but it is not very special - it's not a spline function to have to be
> compatible with or something.
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ListPlot3d and ListDensityPlot ricomelgozajjesus@gmail.com - 2013-05-31 07:16 +0000
  Re: ListPlot3d and ListDensityPlot debguy <johnandsara2@cox.net> - 2013-06-11 06:26 +0000
  Re: ListPlot3d and ListDensityPlot J Jesus Rico-Melgoza <ricomelgozajjesus@gmail.com> - 2013-06-12 09:24 +0000

csiph-web