Re: How can I creat a user coordinate system for my routine?

• To: mathgroup at smc.vnet.net
• Subject: [mg27020] Re: How can I creat a user coordinate system for my routine?
• From: Brian Higgins <bghiggins at ucdavis.edu>
• Date: Tue, 30 Jan 2001 23:22:36 -0500 (EST)
• References: <94r8bq\$ii1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```
Liven,

One approach is to modify the arguments of the graphic primitive used to
plot the graph. For example, in Plot the graphic primitive is Line. Thus
applying a replacement rule on the arguments of Line after the plot has
been rendered will reflect the plot about the y axis.
Here is an example:

Show[Plot[Sin[x], {x, 0, 2\[Pi]},
DisplayFunction -> Identity] /. {x_, y_} -> {-x, y},
DisplayFunction -> \$DisplayFunction]

Cheers,

Brian

liwen liwen <gzgear at yahoo.com> wrote:
> Dear friend,
> In mathematica4,the default coordinate system is world
> coordinate system(WCS),for example,on the XOY
> plane,the point pt={10,0} is on the right side of
> original poins {0,0}.Now I want to turn the WCS to be
> a user coordinate system(UCS) in which the direction
> of the Y axis is not changed but that of X axis is
> reversed,what should I do?The UCS must be created
> before running my routines because my routines are
> based on the the UCS but not WCS.
>
>  Best Regards,
>                 Liwen    1/26/2001
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
>

Sent via Deja.com
http://www.deja.com/

```

• Prev by Date: Re: redundant brackets
• Next by Date: Re: Queries: notebook, matrices
• Previous by thread: Re: How can I creat a user coordinate system for my routine?
• Next by thread: Re: How can I creat a user coordinate system for my routine?