MathGroup Archive 2005

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

Search the Archive

Re: Casting a Command as a String


Hi Bruce,

Can you modify your routine to do something like the following?

x = {
      Hold[Plot[Sin[x], {x, 0, 2*Pi}]],
      Hold[Plot[Cos[x], {x, 0, 2*Pi}]]
      };
y = Table[
    ToString[x[[i]]] // StringDrop[#, 5] & // StringDrop[#, -1] &, {i,
\
Length[x]}]
x1 = ReleaseHold[x];
Table[Show[x1[[i]], PlotLabel -> y[[i]]];, {i, Length[x1]}];


  • Prev by Date: Re: Re: an Integrate question
  • Next by Date: Re: Casting a Command as a String
  • Previous by thread: Casting a Command as a String
  • Next by thread: Re: Re: Casting a Command as a String