MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: a question on ContourPlot

  • To: mathgroup at
  • Subject: [mg4481] Re: a question on ContourPlot
  • From: Xah Lee <xah at>
  • Date: Mon, 29 Jul 1996 02:37:31 -0400
  • Organization: Best Internet Communications
  • Sender: owner-wri-mathgroup at

David E. Burmaster wrote:
> I have made a complicated contour plot (on linear axes) that
>I would like to convert to semi-log axes....
> This does NOT work: 
>         Show[ plot/.{a_, b_} -> {a, Log[b]}]

Is the following what you wanted?

myContourData = ContourPlot[ Sin[x y], {x,1, 2}, {y,1,2},

	(N@ Graphics@ myContourData) /.{x_?AtomQ, y_?AtomQ} -> {x, Log[y]},

The key point is that you need to convert your contour data to graphic 
primitives with Graphics@ myContourData.

 xah at; 74631.731 at
 Mountain View, CA, USA


  • Prev by Date: Re: graphs to postscript
  • Next by Date: Need help in evaluating software
  • Previous by thread: a question on ContourPlot
  • Next by thread: Re: differential equation