X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Nov 2014 12:33 PM by  anon
problem for envi_plot_data
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Nov 2014 12:33 PM
    Hi eveyone, i am new user for envi "user function".I am stuck with a stupid problem. please help me. I have a loop in my code and i am updating the progress status and plotting of result (score in code below) within loop i mean after each iteration. I want the same figure of plot generated by envi_plot_data ll be updated for each iteration. I am using OPLT. The problem is that it draws different figure for each iteration if i do not use OPLOT. If i remove status update from iteration the OPLOT works perfect.code. But i want status progress also. I am writing my code also please guide me what i am doing wrong.Thanks in advance. The code looks like this result.numit=1000 ostr = ' Memory' ENVI_REPORT_INC, report_base, result.numit envi_report_init, ostr, title='USGS Munsell', base=report_base ENVI_PLOT_DATA, findgen(ns#nl),score for j = 1,result.numit do begin envi_report_stat, report_base, j, result.numit . . . score[un]=score[un]+1 ;ENVI_PLOT_DATA, findgen(ns#nl),score OPLOT, score endfor

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    24 Nov 2014 11:52 AM
    You could try the suggestions from this help article: http://www.exelisvis.com/Support/Help...

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Nov 2014 03:16 AM
    Thanks it is really helpful
    You are not authorized to post a reply.