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


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

Ploting a transformation of a set

Started byJustin <justin.valasek@gmail.com>
First post2011-11-30 08:19 +0000
Last post2011-12-02 12:23 +0000
Articles 2 — 2 participants

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


Contents

  Ploting a transformation of a set Justin <justin.valasek@gmail.com> - 2011-11-30 08:19 +0000
    Re: Ploting a transformation of a set Ray Koopman <koopman@sfu.ca> - 2011-12-02 12:23 +0000

#6826 — Ploting a transformation of a set

FromJustin <justin.valasek@gmail.com>
Date2011-11-30 08:19 +0000
SubjectPloting a transformation of a set
Message-ID<jb4ov2$gma$1@smc.vnet.net>
Hello,
I would like to plot the following transformation of the set {x,y; x+y<2 & x>0 & y> 0} => {(x+.5y)^.5, (y+.5x)^.5}.
Is there any way to do this in mathematica?
thanks

[toc] | [next] | [standalone]


#6888

FromRay Koopman <koopman@sfu.ca>
Date2011-12-02 12:23 +0000
Message-ID<jbag0o$1u9$1@smc.vnet.net>
In reply to#6826
On Nov 30, 12:19 am, Justin <justin.vala...@gmail.com> wrote:
> Hello,
> I would like to plot the following transformation of the set {x,y; x+y<2 & x>0 & y> 0} => {(x+.5y)^.5, (y+.5x)^.5}.
> Is there any way to do this in mathematica?
> thanks

xy = .2 Flatten[Table[{x,y},{x,0,10},{y,0,10-x}],1];
uv = Sqrt[xy.{{1,.5},{.5,1}}];
With[{plotstuff = {AspectRatio->Automatic, Frame->True, Axes->None,
                 Prolog->PointSize[.02], DisplayFunction->Identity}},
Show[GraphicsArray[{ListPlot[xy,plotstuff],ListPlot[uv,plotstuff]}],
     ImageSize->600]]

[toc] | [prev] | [standalone]


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


csiph-web