Re: Tag Times Protected with Show[]
- To: mathgroup at smc.vnet.net
- Subject: [mg89340] Re: Tag Times Protected with Show[]
- From: Szabolcs <szhorvat at gmail.com>
- Date: Sat, 7 Jun 2008 02:50:18 -0400 (EDT)
- References: <g2b4pj$nmp$1@smc.vnet.net>
On Jun 6, 1:50 pm, FreeCaptive6... 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? It is not possible to tell what's wrong unless you tell us which of the three commands produces the error and what those three variables are (exactly). It sounds like = was used instead of == somewhere, but there is not enough information to decide whether this is really the case.