Re: Legend with ListDensityPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg85870] Re: Legend with ListDensityPlot
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 26 Feb 2008 07:44:37 -0500 (EST)
- Organization: Uni Leipzig
- References: <fpucqo$ma9$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, data = Table[{x = RandomReal[{0, Pi}], y = RandomReal[{0, Pi}], Sin[x*y]}, {1000}]; plt = ListPlot3D[data, ColorFunction -> "TemperatureMap"] GraphicsRow[{plt = ListPlot3D[data, ColorFunction -> "TemperatureMap"], DensityPlot[y, {x, 0, 0.25}, {y, -1, 1}, FrameTicks -> {None, Automatic}, AspectRatio -> Automatic, ColorFunction -> "TemperatureMap", PlotRangePadding -> None]}, Spacings -> Scaled[-0.6]] ?? Regards Jens olalla wrote: > Hi everybody, > > I have a very large list of data representing the value of a scalar > field at the point (x0,y0). I represent these data with > ListDensityPlot and I would like to show a legend with the scale of > colours and the values. > How can I do this? > > Thanks in advance > > Olalla P=E9rez > Bilbao, UPV/EHU > >