Re: Can mathematica do a log-log contour plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg81369] Re: Can mathematica do a log-log contour plot?
- From: dh <dh at metrohm.ch>
- Date: Fri, 21 Sep 2007 03:02:24 -0400 (EDT)
- References: <fct9e2$rvb$1@smc.vnet.net>
Hi Feng,
there is no built in function for that, you must do it yourself. A quick
and dirty way would be to generate tripples with: {Log of x, Log of y,
function value at x,y}. Here is an example:
dat=Flatten[Table[{Log[x],Log[y],x^2- y^2},{x,1,10,.1},{y,1,10,.1}],1];
ListContourPlot[dat]
Note that the axes show the Log's of x and y. But you may draw the ticks
yourself.
hope this helps, Daniel
Feng-Yin Chang wrote:
> Hi All,
> I have a data array whose indice stand for x,y axes. Is it posiible
> to make a log-log contour plot? Or is there any other way to do the similiar
> task by mathematica?
> Thanks a lot.
>
> Feng-Yin Chang,
> Institute of Physics,NCTU,Taiwan
>
>