Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7081
| From | Jacopo Bertolotti <jacopo.bertolotti@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: color-bar legend for the LisContourPlot |
| Date | 2011-12-10 12:36 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jbvjp4$j20$1@smc.vnet.net> (permalink) |
| References | <201112091054.FAA03755@smc.vnet.net> |
I encountered a very similar problem and I am also searching for a
solution that do not involve either ShowLegend or a third-part package.
The very best I came up with is something like
GraphicsRow[{ListContourPlot[RandomReal[30, {10, 10}],
InterpolationOrder -> 3, ColorFunction -> "LakeColors"],
MatrixPlot[Transpose@{Table[i, {i, 1, 30}]},
FrameTicks -> {{None, {1, 10, 20, 30}}, {None, None}},
ColorFunction -> "LakeColors"]}]
that is still far from ideal. Anyone with suggestions is welcomed.
Jacopo
On 12/09/2011 11:54 AM, Karamiarokhloo, M.P. (Mehdipasha) wrote:
> Dear All,
>
> I am using Mathematica 7 and have difficulties to plot the ListContourPlot
> of ocean data with a neat color bar (legend).
> For example if I have a temperature field range between {-2,30}, and I use
> the ColorFunction Rainbow,
> I cannot include a color-bar which has the same number of contours as the contourplot, and it does not show the related numbers for each color-shade.
> The ShowLegend function of Mathematica is very primitive.
> Has any body any suggestion?
>
> Thanks you.
> P.Karami
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Re: color-bar legend for the LisContourPlot Jacopo Bertolotti <jacopo.bertolotti@gmail.com> - 2011-12-10 12:36 +0000 Re: color-bar legend for the LisContourPlot Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-12-11 08:54 +0000 Re: color-bar legend for the LisContourPlot Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-12-11 08:55 +0000
csiph-web