Re: Epilog doesn't work with loglinearplot
- To: mathgroup at smc.vnet.net
- Subject: [mg97142] Re: Epilog doesn't work with loglinearplot
- From: "D. Grady" <D.C.Grady at gmail.com>
- Date: Fri, 6 Mar 2009 04:25:46 -0500 (EST)
- References: <goo7b8$s8c$1@smc.vnet.net>
Whenever you use any of the Log plots, the coordinate system does not match the coordinates drawn on the axes. If you want to draw graphics primitives using the marks on the axes, you need to the take the Log of the appropriate part of the points in the graphics commands, like this: LogLinearPlot[x, {x, 1, 10}, Epilog -> Line[{{Log@4, 0}, {Log@4, 10}}]] If you had used LogPlot, you would need to take Log of the y- coordinates in your Epilog command; if you had used LogLogPlot, take the Log of both x- and y-coordinates. -Daniel