Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

RE: More Epilogs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23754] RE: [mg23654] More Epilogs
  • From: "Higinio Ramos Calle" <higra at gugu.usal.es>
  • Date: Mon, 5 Jun 2000 01:09:49 -0400 (EDT)
  • References: <200005290309.XAA14612@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

----- 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