Re: Epilog doesn't work with loglinearplot
- To: mathgroup at smc.vnet.net
- Subject: [mg97121] Re: Epilog doesn't work with loglinearplot
- From: "M.Roellig" <markus.roellig at googlemail.com>
- Date: Fri, 6 Mar 2009 04:22:00 -0500 (EST)
- References: <goo7b8$s8c$1@smc.vnet.net>
On 5 Mrz., 10:51, wiso <gtu2... at alice.it> wrote:
> I've have a problem with loglinearplot
>
> Plot[x, {x, 1, 10}, Epilog -> Line[{{4, 0}, {4, 10}}]]
>
> Ok, I see the line
>
> LogLinearPlot[x, {x, 1, 10}, Epilog -> Line[{{4, 0}, {4, 10}}]]
>
> why I don't see the line? Can someone suggest an alternative method to
> superimpose a line over a loglinearplot?
Hi,
I am also always struggling with manual positioning in any Log-Plot.
Problem is that Epilog doesn't know how LogLinearPlot rescales the Image-
Coordinates. Try:
LogLinearPlot[x, {x, 1, 10},
Epilog -> Line[{{Log@4, 0}, {Log@4, 10}}]]
Cheers,
Markus