Generating image (jpeg file) using ResTree
Sham92 · Mon Aug 19, 2013 10:44 pm
Hi all,
I am trying to use ResTree function from resgraph library. I have already installed xv and graphviz packages (all using fink project), and both are in standard search PATH. Now, when I try to replicate the exact code given here mainsite/tutor_resol.ps (well, I am not allowed to post URLs apparently).
(namely, page 4) it is not working. To be more precise, I enter all the commands (defining the necessary ring and ideal), and when I finally type in: ResTree(re, coll[1]), the following is displayed:
sh: dot: command not found
Currently showing graphics in separate window
Press <Return> to continue
And pop-up window shows-up (from XQuartz software) saying that:
Can't open the file "Users/myusername/ResTree.dot.jpg"
No such file or directory.
When I go to the indicated folder (Users/myusername/) I did find file named "ResTree.dot" (which was generated right after I entered "ResTree(re, coll[1])" command), but it is not a JPEG file. So I think the problem is Singular is not generating the desired JPEG file for some reason.
I have been spending past 3 days trying to work this out, but to no avail. I would very much appreciate any help!
I am trying to use ResTree function from resgraph library. I have already installed xv and graphviz packages (all using fink project), and both are in standard search PATH. Now, when I try to replicate the exact code given here mainsite/tutor_resol.ps (well, I am not allowed to post URLs apparently).
(namely, page 4) it is not working. To be more precise, I enter all the commands (defining the necessary ring and ideal), and when I finally type in: ResTree(re, coll[1]), the following is displayed:
sh: dot: command not found
Currently showing graphics in separate window
Press <Return> to continue
And pop-up window shows-up (from XQuartz software) saying that:
Can't open the file "Users/myusername/ResTree.dot.jpg"
No such file or directory.
When I go to the indicated folder (Users/myusername/) I did find file named "ResTree.dot" (which was generated right after I entered "ResTree(re, coll[1])" command), but it is not a JPEG file. So I think the problem is Singular is not generating the desired JPEG file for some reason.
I have been spending past 3 days trying to work this out, but to no avail. I would very much appreciate any help!