I want to be able to specify values at an arbitrary grid of x,y points. So for
a disk my grid of x,y values would be say,
h=.1
r=h:h:1.
t=-π:h*π:π-h
x=r*cos(t)'
y=r*sin(t)’
Then the z values would be,say,
f(x,y)=exp(-10x.^2-20y.^2) # arbitrary function of f
z=[f(x[k,j],y[k,j]) for k=size(x,1),j=size(x,2)]
On 2 Sep 2014, at 12:32 pm, Simon Danisch <[email protected]> wrote:
> For the color, I guess you just want some mapping of the z value, right? I
> should really implement that.
> I'm not sure what you mean by functions on a disc, you should probably
> explain that to me!
> The black spots on the screen-shot definitely looks like what I'm talking
> about... I should finally fix this!
>
> Am Dienstag, 19. August 2014 07:46:22 UTC+2 schrieb Sheehan Olver:
> Hi,
>
> Is there a way to force plotting in PyPlot.jl, to simulate animation? Right
> now if I do a for loop over a sequence of plots, it only outputs the last
> plot.
>
> This is in IJulia running on OS X with matplotlib version 1.3.1 installed,
> and pygui(true)
>
> Sheehan