Thanks! That's what I wanted.

I just did the exact same as the example then i got it working and then 
> changed it to you example.
>
> using PyPlot 
>
> fig, ax = subplots()
> data = pi*rand(10, 10)
> cax = ax[:imshow](data,vmin=0, vmax=pi)
> cbar = fig[:colorbar](cax, ticks=[0, pi])
> cbar[:ax][:set_yticklabels]([ "0", "\$\\pi\$"])
>
>
2014年10月13日月曜日 10時29分42秒 UTC-7 Daniel Høegh:
>
> I just did the exact same as the example then i got it working and then 
> changed it to you example.
>
> using PyPlot 
>
> fig, ax = subplots()
> data = pi*rand(10, 10)
> cax = ax[:imshow](data,vmin=0, vmax=pi)
> cbar = fig[:colorbar](cax, ticks=[0, pi])
> cbar[:ax][:set_yticklabels]([ "0", "\$\\pi\$"])
>
>
2014年10月13日月曜日 10時29分42秒 UTC-7 Daniel Høegh:
>
> I just did the exact same as the example then i got it working and then 
> changed it to you example.
>
> using PyPlot 
>
> fig, ax = subplots()
> data = pi*rand(10, 10)
> cax = ax[:imshow](data,vmin=0, vmax=pi)
> cbar = fig[:colorbar](cax, ticks=[0, pi])
> cbar[:ax][:set_yticklabels]([ "0", "\$\\pi\$"])
>
>
2014年10月13日月曜日 10時29分42秒 UTC-7 Daniel Høegh:
>
> I just did the exact same as the example then i got it working and then 
> changed it to you example.
>
> using PyPlot 
>
> fig, ax = subplots()
> data = pi*rand(10, 10)
> cax = ax[:imshow](data,vmin=0, vmax=pi)
> cbar = fig[:colorbar](cax, ticks=[0, pi])
> cbar[:ax][:set_yticklabels]([ "0", "\$\\pi\$"])
>
>

Reply via email to