Syntax in Plot versus in ParametricPlot
- To: mathgroup at yoda.physics.unc.edu
- Subject: Syntax in Plot versus in ParametricPlot
- From: Michael.Trott at physik.tu-ilmenau.de
- Date: Wed, 9 Dec 1992 08:44:22 +0000
Hi Mathgroup, I think there is a little nonuniformitty in the syntax of Plot versus the syntax of ParametricPlot. Say I would like to show several curves, then Plot[{c1,c2,...,cn},{var,var0,var1}] works, but actually also Plot[{{c1,c2,...,cn}},{var,var0,var1}] works. This is necessary to display solutions of say NDSolve via Plot[Evaluate[[c1,c2,...,cn}/.sol],{var,var0,var1}]. Now the same problem with ParametricPlot. Here the double List brackets do not work and one has to use: ParametricPlot[Evaluate[({{c1,d1},{c2,d2},...,{cn,dn}}/.sol)[[1]] ], {var,var0,var1}] I think ParametricPlot should also work for a double bracketted first argument. Is there anybody seeing a reason why this does not work already. Michael Trott trott at physik.tu-ilmenau.de