Re: Epilog in ListLogPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg81455] Re: Epilog in ListLogPlot
- From: Norbert Marxer <marxer at mec.li>
- Date: Sun, 23 Sep 2007 21:20:13 -0400 (EDT)
- References: <fd58sd$2i1$1@smc.vnet.net>
On 23 Sep., 10:41, Bruce Colletti <vze26... at verizon.net> wrote:
> Re 6.0.1 under WinXP.
>
> Consider the code:
>
> X = {{2, 4}, {9, 5}, {12, 13}};
> ListPlot[X, Epilog -> {Red, Point@{4, 6}}]
> ListLogPlot[X, Epilog -> {Red, Point@{7, 7}}]
>
> Helptext says ListLogPlot has ListPlot's options.
>
> Unlike Plot #1, why doesn't the red dot appear in Plot #2?
>
> Thankx.
>
> Bruce
Hello
Because you have to take the Log of the y-coordinate of your point:
e.g.
X = {{2, 4}, {9, 5}, {12, 13}};
ListPlot[X, Epilog -> {Red, Point@{4, 6}}]
ListLogPlot[X, Epilog -> {Red, Point@{4, Log[6]}}]
Best Regards
Norbert Marxer