03-25-2008 05:46 AM
 
					
				
		
 RobertoBozzolo
		
			RobertoBozzolo
		
		
		
		
		
		
		
		
	
			03-26-2008 03:57 AM - edited 03-26-2008 03:59 AM
Supposing my rudimentary comprehension of french language has not driven me oot of path  , you are concerned about retrieving data from a graph in order to store them on disk. You have a couple of attributes that can help you in this task, first of all the undocumented attribute that LuisG has described in this thread that gives you the actual number of plots in the graph. After you know this number, you can iterate on plots retrieving X and Y arrays using GetPlotAttribute function with the following attributes:
, you are concerned about retrieving data from a graph in order to store them on disk. You have a couple of attributes that can help you in this task, first of all the undocumented attribute that LuisG has described in this thread that gives you the actual number of plots in the graph. After you know this number, you can iterate on plots retrieving X and Y arrays using GetPlotAttribute function with the following attributes:
As explained by Luis, you cannot simply iterate from 1 to # of plots in case you have deleted some plot from your graph: plot handles are not reused so you may be missing some plots. Instead, you must place a loop with handles from 1 on and skip the handles that return an error, exiting the loop after you have counted and retrieved the correct number of plots.
I am attaching a small example that can help you.
Finally, in case you prefere to continue in french, you can access the french board.
03-26-2008 01:09 PM
bonjour,
ok merci bien pour la réponse
 
					
				
		
 RobertoBozzolo
		
			RobertoBozzolo
		
		
		
		
		
		
		
		
	
			03-27-2008 12:47 AM