Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3869
| From | Gary Wardall <gwardall@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: locator |
| Date | 2011-07-21 09:49 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j08snf$6fc$1@smc.vnet.net> (permalink) |
| References | <201107121059.GAA22222@smc.vnet.net> <ivjgt7$2g9$1@smc.vnet.net> |
On Jul 13, 2:19 am, Heike Gramberg <heike.gramb...@gmail.com> wrote:
> I'm not sure what it is what you're asking for, but if you want to use a locator to trace a curve you can do something like
>
> Module[{p = {0, 1}, temp},
> temp[t_] := Exp[- t];
> Row[{
> LocatorPane[Dynamic[p, (p[[2]] = temp[#[[1]]]; p[[1]] = #[[1]]) &],
> Plot[temp[t], {t, 0, 5}, PlotRange -> {Automatic, {0, 1}},
> ImageSize -> 400],
> {{0, 0}, {5, 1}}],
> Dynamic[Grid[{{"Time:", p[[1]]}, {"Temp:", p[[2]]}}]]}]]
>
> Heike.
>
> On 12 Jul 2011, at 11:59, raga wrote:
>
> > hi,
> > i created a front end in mathematica which provides the user the
> > independence of providing the input to the code and my code plots the
> > graph for variation of temperature with time for newtons law of
> > cooling but can any body please help me out by telling how to use a
> > locator to locate the individual points which shows the respective
> > temperature on the graph
Would the "Drawing Tools" under "Graphics" be of help. I find it
useful when I want to locate the coordinates on Plots.
Gary Wardall
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: locator Heike Gramberg <heike.gramberg@gmail.com> - 2011-07-13 07:19 +0000 Re: locator Gary Wardall <gwardall@gmail.com> - 2011-07-21 09:49 +0000
csiph-web