T O P I C R E V I E W 
cntenthusiast 
Posted  07/13/2012 : 10:03:13 PM Hello, I'm a chemist and I was asked to model Percolation Theory using Origin 8.1, but I have NO Experience using C++. I know some Basic, so I am familiar with the basics of coding and syntax. Basically I need some tips on the following:
Making a square grid, such as for all integers between 1 and 100. Be able to plot random integers only on the vertexes on the grid. When two adjacent vertexes are plotted, a line joins them. When a complete path is formed from left to right, it changes color to signify it. The graph displays: the number of vertexes with points plotted on them, and fraction of plotted points/total vertices.
Any help would be appreciated.
Thanks! 
2 L A T E S T R E P L I E S (Newest First) 
dabaozha 
Posted  07/19/2012 : 05:32:57 AM I have just figured out. But I am not sure if this picture is the very stuff you need. By the way, we can polish it if you can provide the input parameters you want. I just used the xy dimensions and the number of random integers as the input.
Jason OriginLab Technical Services 
dabaozha 
Posted  07/18/2012 : 06:57:24 AM I am trying it. Just now, I paused at the last step: pathfinding. I am seeking for an efficient algorithm to find out all the points in the connectedpath.
 Jason OriginLab Technical Services 

