MathGroup Archive 2000

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

Search the Archive

RE: More Epilogs


----- Original Message -----
From: F. Mittermayr <mitterma at linz.vai.co.at>
To: mathgroup at smc.vnet.net
Subject: [mg23754] [mg23654] More Epilogs


> Hi,
> does anyone know how to combine 2 plots with 2 epilogs in a Show command??
>
>
> p1=Plot[Sin[x], {x,0,2 Pi}, Epilog->
{PointSize[0.05],Hue[1],Point[{0,1}]},
> DisplayFunction->Identity];
> p2=Plot[Cos[x], {x,0,2 Pi}, Epilog->
{PointSize[0.05],Hue[1],Point[{0,0}]},
> DisplayFunction->Identity];
> Show[p1,p2,DisplayFunction->$DisplayFunction]
>
> unfortunately only one Epilog is plotted.
>
> Thnx for any ideas
> F. Mittermayr
>
A suggestion that works is to put all the points in a same Epilog, that is
p1=Plot[Sin[x], {x,0,2 Pi}, Epilog->
{{PointSize[0.05],Hue[1],Point[{0,1}]},{PointSize[0.05],Hue[1],Point[{0,0}]}
}, DisplayFunction->Identity];
 p2=Plot[Cos[x], {x,0,2 Pi}, DisplayFunction->Identity];
Show[p1,p2,DisplayFunction->$DisplayFunction]

H. Ramos






  • Prev by Date: MathLink data transfer time
  • Next by Date: Re: contour-plot & ascii-art
  • Previous by thread: MathLink data transfer time
  • Next by thread: Re: contour-plot & ascii-art