f

#### Log Log square plot

```Hi,

I'd like to plot a distribution on a log- log^2 graph. Those graph
look like gaussian graph but with the x axis on a log^2 scale and y
axis on log scale. They are call Cole chart and are use for ploting
cumulative particle size distribution. Can someone help me.

Thanks

Jean-Mathieu Gagnon
``` 0 4/15/2004 2:27:44 AM comp.soft-sys.matlab  211266 articles. 25 followers. 1 Replies 705 Views Similar Articles

[PageSpeed] 48

```Johnnyhat <jeanmat66@hotmail.Nospamm.com> wrote in message news:<eed95f9.-1@webx.raydaftYaTP>...
> Hi,
>
> I'd like to plot a distribution on a log- log^2 graph. Those graph
> look like gaussian graph but with the x axis on a log^2 scale and y
> axis on log scale. They are call Cole chart and are use for ploting
> cumulative particle size distribution. Can someone help me.
>
> Thanks
>
> Jean-Mathieu Gagnon

This is how I'd do it:
plot(log10(x).^2,log10(y))

Now you just have to give it nice ticks and label them as x and y, not
log10(x)^2 and log10(y).  For example, to re-label the ticks as they
appear do this e.g. for the x axis:
xtic=get(gca,'XTick');
xticlab=num2str(10.^(sqrt(xtic)));
set(gca,'XTickLabel',xticlab)

Of course these labels are not very nice, but you can give the plot
whatever ticks you like using the set command.  You just have to
remember that when you plot them they are log10(xtic).^2 and when you
label them they are xtic.
``` 0 4/15/2004 8:14:15 PM