I am a new AV user. I am using VS2010, Inel Fortran 12.1, and AV 3.3. My code is doing a series of 3D graphs. What I want to do is toss out the first set of graphs and build a new set with each loop. However, avClose doesn't really close. So, as an alternative I rebuild the arrays and avUpdate them. That works, but the scaling from the first graph is retained and the second graph is literally off the page (I can rotate it and see it in the heavens).
1) how can I really close this thing down and start over within my loop?
2) how can I set the scaling to auto so that each time I re-graph it adjusts the scaling prperly?
viewer_var = 0
if (viewer_var .eq. 0) then
call avStartWatch(LOC(sig_f), 2, dim2d, AV_REAL4,"sig_f", status)
call avCreateGraph3D("sig_f", "plot:HEIGHTPLOT, xysource:sig_f, colorsource:sig_f", status)
call avSetViewerPath(viewerId,"graph:/sig_tr", status)
call avVisible(viewerId, AV_TRUE, status)
call avCloseViewer(viewerId, status)
call avEndWatch(LOC(M), status)