Re: [Gmath-devel] GMatH 0.2 pre2
Status: Pre-Alpha
Brought to you by:
aurag
From: Hassan A. <au...@cr...> - 2000-03-02 22:12:21
|
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 3/2/00, 4:48:57 PM, Adrian Feiguin <fe...@ma...> wrote regarding Re: [Gmath-devel] GMatH 0.2 pre2: > Hi Hassan, this is great news. Thanks > On the other hand, let me ask you some stupid questions, if you don't > mind, and please, forgive me for my ignorance. I don't know anything about > Python, but I am planning to learn. > The thing is, I am wondering about the best way to save a plot as a > template, in order to read a file, and rebuild the widget tree. In such a > way, I would be able to save the canvas with a layer of plots, and > datasets. My question is, can Python help? Would it be possible to save > the widget tree as a python script to read it and execute later? Is this > an stupid question? > Thanks, > <ADRIAN> I am not sure I understand fully but here goes anyway. In GmatH, you can use SaveSession in a file and then load it again. Loading is not fully implemented. But for now a saved session can be loaded the stupid way that is by copying the whole session or parts of it to the NumPy Session shell. This means, that if you have done computation and plots etc.... you can save all your commands but not the results (for now) and then repeat them. As for plots, they can be saved in eps or printed if you wish But my guts tell me you want more and I like the idea if I am correct. Do you really want to save all results in some way and then just reload them (without repeating computations) and continue work later or something? If this is what you want then the answer is yes, I will however need to think about it and implement it. Maybe by 0.3. Anyone else have ideas on gmath-devel about that? > PS: Do you know where can I find a comparison between Python and Scheme? I > only want to lear one of them ;). Can you tell me why Python is better? No, I really don't know scheme. I know only python. I choose python because it allowed me to code even though I really am no programmer. I can understand some C code but that's my upper limit. Python is easy to use and is full of goodies, like classes, inheritance, database support,..... Have fun and good luck! H. Aurag |