Plotting problems
- To: mathgroup at yoda.physics.unc.edu
- Subject: Plotting problems
- From: mcwilljg at euler.sfasu.edu
- Date: Tue, 17 Nov 92 17:06:40 CST
I have written an Mma program whose last 3 lines are: ListPlot[nodePairs,PlotJoined->True,DisplayFunction->Identity] Plot[S[x],{x,node[[1]],node[[n+1]]},DisplayFunction->Identity] Show[%,%%,DisplayFunction :> $DisplayFunction] When the program is executed the Show function will sometimes(rarely) properly overlay the two previous plots but more often, one of the following error messages are displayed with no graph: Show::gtype: String is not a type of graphics. Show::gtype: Show is not a type of graphics. However when the same 3 lines are executed in the notebook after the program has bees run, the Show function produces the proper plot. Does anyone know what is wrong here? Why are the error messages inconsistent?