Re: Tag Times Protected with Show[]
- To: mathgroup at smc.vnet.net
- Subject: [mg89354] Re: Tag Times Protected with Show[]
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Sat, 7 Jun 2008 02:56:41 -0400 (EDT)
- References: <g2b4pj$nmp$1@smc.vnet.net>
FreeCaptive6914 at gmail.com wrote:
> Hi all. I'm updating an old program to Mathematica 6 and I get the
> error message "Tag Times in (*shows a blank graph*) is Protected."
> Here's the code.
>
> line = Plot[secondfit, {x, 0.8, maxtime}, DisplayFunction ->
> Identity];
> splot = ListPlot[second, PlotRange -> All, DisplayFunction ->
> Identity];
> Show[splot, line]
>
> secondfit is a valid function from Fit[], maxtime is a real number,
> and second is a valid list. I've tried plotting line and splot
> individually, but I get the same error. Ideas?
>
Is secondFit a function of x, or a pure function? BTW,
DisplayFunction->Identity is redundant in this context (but harmless).
David Bailey
http://www.dbaileyconsultancy.co.uk