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


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

Re: Ploting a transformation of a set

From Ray Koopman <koopman@sfu.ca>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Ploting a transformation of a set
Date 2011-12-02 12:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jbag0o$1u9$1@smc.vnet.net> (permalink)
References <jb4ov2$gma$1@smc.vnet.net>

Show all headers | View raw


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]]

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


Thread

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

csiph-web