Re: plotting against a variable
- To: mathgroup at smc.vnet.net
- Subject: [mg37855] Re: plotting against a variable
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 15 Nov 2002 01:35:41 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <ar00u5$b7e$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
With[{p = 6},
Plot[Sin[x/p], {x, 0, 10p},
Ticks -> {Table[i*p, {i, 0, 10}], Automatic}];
]
Regards
Jens
Urijah Kaplan wrote:
>
> I looked all over the Mathematica documentation, and I haven't found an
> answer...I would like to know how to make a plot, for example Sin[x/P] such
> that the x axis, instead of ranging from say, 0 to 10, ranges from 0 to 10 P,
> with the tick marks on the axis showing that. I mainly want to use this
> technique to find the zeroes of complicated transcendental functions that
> Mathematica can't solve explicitly in terms of another variable. Thank you
> very much.
>
> --Urijah Kaplan