Re: Epilog doesn't work with loglinearplot
- To: mathgroup at smc.vnet.net
- Subject: [mg97181] Re: Epilog doesn't work with loglinearplot
- From: wiso <gtu2003 at alice.it>
- Date: Sat, 7 Mar 2009 02:39:52 -0500 (EST)
- References: <goo7b8$s8c$1@smc.vnet.net> <goqp8u$lpg$1@smc.vnet.net>
M.Roellig wrote:
> 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
Thanks, now it works, but I think it's not very intuitive.