[Eric] Eric4 and interactive PyQwt Plots

Darryl Wallace darryl.wallace at prosensus.ca
Fri Nov 7 18:16:17 GMT 2008


Hello,
>>>> I think this has been asked many times before, but is there a way to
>>>> easily get the interactive CLI plotting working within the Eric4 shell?
>>>>
>>>> I am trying to convince some coworkers that we can avoid purchasing
>>>> Matlab.  Since the Eric4  IDE is so nice, all that's missing for me is
>>>> the plotting (more or less).  I have the interactive plotting working
>>>> from those posted on the website for PyQwt CLI examples
>>>> (http://pyqwt.sourceforge.net/cli-examples.html) for the standard Python
>>>> console, but it appears as though environment variables and things I
>>>> have set up do not transfer to the ERIC shell.
>>>>         
>>> You can set the environment for the script to debug in the start window.
>>> In there you can ammend the environment or replace it. Another thing you
>>> might try is to enable the console debugger (Debugger->General page or
>>> Project-Debugger->Debugger Properties to set it on a per project base).
>>>
>>> Detlev
>>>       
>> I tried setting the environment with a script I have in my home folder
>> called ".pystartup.py"  (attached).  In Settings-> Preferences ->
>> Debugger -> General -> "Enviornment for Debug Client"  I set replace
>> environment with this script.  "/home/darryl/.pystartup.py"
>>     
>
> You cannot set a script in this entry. You should enter the environment 
> variables like "envvar1=foo envvar2=bar".
>   
You'll have to forgive me, but it's not clear to me how to set the 
environment variables that will enable me to hook into existing Qt 
windows from the shell similar to the way that I have described.

Thanks,
Darryl


More information about the Eric mailing list