Hi Helder I realise that you're using the Tcl/Tk GUI there, but all the same, perhaps this will help if you would like to play with the PyGTK GUI.
With the PyGTK GUI, you can get an incidence matrix in Postscript, PNG, PDF etc, using the PyGTK GUI. Load your model, then click Solve, and then click Incidence Matrix. It will load in a new window, and that new window will have some options for saving the matrix (in graphical form). You can also easily hack the ascend/pygtk/incidencematrix.py code if you want the output in a different format. Cheers JP PS you mentioned email group information. I have CCed your message to our users' mailing list, and I will update the 'support' link to give the mailing list details. [email protected] wrote: > normally i just turn on the jacobian debugging output that writes a-i-j data. > If someone else isn't familiar with those buttons in the tcl solver gui options, > it'll take me some time to find the current source, build, and point it out > precisely. If Helder is using John's gui, i don't have a clue. > > the i-j portion gives the incidence (depending on which step the output > comes from, it'll be mtx ordering or lu fill results. > > Ben > >> ---------- Forwarded message ---------- >> From: Helder Gomes da Silva <[email protected]> >> Date: Fri, Jan 2, 2009 at 9:19 AM >> Subject: ASCEND: Incidence Matrix >> To: [email protected] >> >> > Dear Professor Westerberg, > > I am Helder Silva, Portuguese PhD student. I am trying to organize some > ASCEND results and I would like to share an issue that I am having when > trying to get information about the incidence matrix. > > I am using the stable version of ASCEND. I need to plot a pretty picture > of an incidence matrix created by ASCEND. As I want to avoid to screen > shot the simulator's windows, I tried to get the x,y information in > order to plot it later, using a software like gnuplot or similar. > > I tried to hack MtxProc.tcl, but I did not succeed. > > I thought that opening a file and using a put instruction around lines > 431-433 will solve the problem by printing that information to an > external file. My goal is to get a x,y 0/1 matrix that will allow me > plot a x/y scatter. However, I was not able to do it. As you do not have > e-mail group information in the wiki, I though that you could forward > this request to someone related with the Tcl/tk development. > > Thank you very much in advance, > > With my bests regards and wishes for 2009, > > Helder Silva ------------------------------------------------------------------------------ _______________________________________________ Ascend-sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

