Re: Scale ContourPlot axes
- To: mathgroup at smc.vnet.net
- Subject: [mg67405] Re: [mg67393] Scale ContourPlot axes
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 22 Jun 2006 06:21:23 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
I don't know whether I understand your what you want. Perhaps this... f[x_,y_]:=Exp[x]*Exp[y]; Plot3D[f[a,b], {a, -2, 2}, {b, -2, 2},PlotRange->All]; ContourPlot[f[a,b], {a, -2, 2}, {b, -2, 2}]; Plot3D[Evaluate[f[a,b]/.{a->Log[a],b->Log[b]}], {a, -2, 2}, {b, -2, 2}]; ContourPlot[Evaluate[f[a,b]/.{a->Log[a],b->Log[b]}], {a, -2, 2}, {b, -2, 2}]; Bob Hanlon ---- Nick <nick.dale.burns at gmail.com> wrote: > Hi there, > > I have a ContourPlot with axes of parameters "a" and "b" and contours > of a function "f". Obviously the parameters, "a" and "b" are varied > within defined boundary conditions to calculate "f". > > My question: Is it possible to convert the axes to a log scale (within > ConoutPlot) while maintaining the normal values of these parameters, > ie. scale the linear axes to a log scale without converting to log > units? > > I haven't been able to find a way of acheiving this and would really > appreciate any ideas out there. > > Nick >