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


Groups > comp.soft-sys.math.mathematica > #13607 > unrolled thread

Re: A nonconventional ListContourPlot

Started byLuiz Melo <lmelo@ufsj.edu.br>
First post2013-02-25 07:19 +0000
Last post2013-02-25 07:19 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: A nonconventional ListContourPlot Luiz Melo <lmelo@ufsj.edu.br> - 2013-02-25 07:19 +0000

#13607 — Re: A nonconventional ListContourPlot

FromLuiz Melo <lmelo@ufsj.edu.br>
Date2013-02-25 07:19 +0000
SubjectRe: A nonconventional ListContourPlot
Message-ID<kgf3av$mjo$1@smc.vnet.net>
Hi there
I just realized that ListContourPlot can also take as argument a list
of the kind {{x1, y1, f1}, {x2, y2,f2}, ....}, therefore the answer to
my question is obvious: ListContourPlot[data]

to David Park: the plot may seem strange to mathematicians but not in
microwave engineering, where we often need a dispersion diagram of the
reflectivity as a function of frequency and wave number. As is often
the case, the wave number depends upon frequency, that's why in my
example I choose the x and y axes be given by two functions of i and
j. Anyway, thank you for taking your time to answer my  question.
Cheers.
LM



On Sun, Feb 24, 2013 at 2:22 PM, djmpark <djmpark@comcast.net> wrote:
> ContourPlot[Sin[x + y^2], {x, -2, 2}, {y, -1, 1},
>  ColorFunction -> ColorData["DarkRainbow"]]
>
> ??
>
> Rather, why do you want to sample at your strange set of x,y values? Is the
> z expression just a stand-in for actual measure values? You might try
> Interpolation with InterpolatingOrder -> 1, but the results in this case do
> not seem promising.
>
>
> David Park
> djmpark@comcast.net
> http://home.comcast.net/~djmpark/index.html
>
>
>
>
> From: Luiz Melo [mailto:lmelo@ufsj.edu.br]
>
>
> Good day,
>
> x[a_,b_] = a*b;
> y[a_,b_] = Cos[a^2 + b];
> z[a_,b_] = Sin[a + b^2];
>
> data = Table[{x[i,j], y[i,j], z[i,j]}, {j, -1, 1, 0.1}, {i, -2, 2, 0.1}];
>
> For the table above, is it possible to see a ListContourPlot of the z
> component as a function of x and y (the values of x and y on the horizontal
> and vertical axes, respectively)?
>
> Thank you in advance
> Luiz Melo
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web