Rebecca Johnston

20 Reputation

2 Badges

18 years, 111 days

MaplePrimes Activity


These are questions asked by Rebecca Johnston

Hi,

I have a complex quantity in mod-arg form,

psi:= (alpha_0(t) + epsilon*alpha_1(r,t))*exp(I*(phi_0(r,t) + epsilon*phi_1(r,t))/nu),

to which I'm applying an operator

delsq:=x-> d^2/dr^2 x+ 2/r d/dr x .

I'm currently outputting some animations, but I'm not using the animate command - I'm using the command display([seq(tmp_alpha_plot||kk,kk=1..nt)],insequence=true) having previously created tmp_alpha_plot||ii:=display([ plot([seq([r_arr[i],alpha1_arr[i,ii]],i=0..nr)]), plot([seq([r_arr [i],alpha2_arr[i,ii]],i=0..nr)], color=magenta)]): What would be useful for diagnostics purposes is to be able to print in the corner of the animation both the timestep/frame currently displayed (I know this is automatic when you use the animate command, and I'll change if I need to), and the actual numerical value of the variables alpha1_arr and alpha2_arr. It would also be useful if I could also show the numerical values of some other variables I'm working with, as they're defined at that time.
Page 1 of 1