MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Best strategy for using Drawing Tools

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76637] Re: [mg76580] Best strategy for using Drawing Tools
  • From: Brett Champion <brettc at wolfram.com>
  • Date: Fri, 25 May 2007 06:27:19 -0400 (EDT)
  • References: <200705241006.GAA21277@smc.vnet.net>

On May 24, 2007, at 5:06 AM , Hugh wrote:

> You have just done a plot say
>
> Plot[{3 Sin[x], 4 Cos[x]}, {x, 0, 4 Pi}]
>
> and now you use Drawing Tools from the pull down menu to add text,
> arrows and other additions to the plot. However, to your horror, you
> find that the original plot was wrong and you wanted 5 Cos not 4 Cos.
> If you change the input and re-evaluate, a new output cell  is created
> without the additions generated by Drawing Tools. Thankfully the old
> output is still there, as well, as a second output cell. The problem
> is to copy the Drawing Tools additons onto the new output.
>
> My poor solution is to convert the old output with additions to
> InputForm, using the Cell Convert menu, and then to  copy the
> additions  to an Epilog  option in the original plot so it becomes
>
> Plot[{3 Sin[x], 5 Cos[x]}, {x, 0, 4 Pi},  Epilog -> {copied
> primitives}]
>
> Then re - evaluate and the additions are on the plot. This is a poor
> solution and  I can't change the additions dynamically.
>
> What is the proper way of saving your work in these circumstances?

One solution:

+ Double click in the old graphic.
+ Edit > Select All (selects all the contents of the graphic)
+ Shift-click on the two curves from the plot (de-selects the curves)
+ Edit > Copy
+ Double click in the new graphic.
+ Edit > Paste


Brett Champion
Wolfram Research



  • Prev by Date: Re: V6 evaluation inside Table and plot
  • Next by Date: Re: What to do in v. 6 in place of Miscellaneous`RealOnly
  • Previous by thread: Best strategy for using Drawing Tools
  • Next by thread: Re: Mathematica 6.0 easier for me ... (small review)