Rachel GUI
From GOSIA
(→General: Added use of the compile-all.sh script) |
(adding graphics issues and solutions) |
||
Line 83: | Line 83: | ||
When changing to version 1.0 or later, users will have to rebuild their sessions, because of major changes in the internal structure that cannot be automatically upgraded. This can be aided by the export/import tools for the level and matrix data. Subsequent versions will have the automatic upgrading reinstated. | When changing to version 1.0 or later, users will have to rebuild their sessions, because of major changes in the internal structure that cannot be automatically upgraded. This can be aided by the export/import tools for the level and matrix data. Subsequent versions will have the automatic upgrading reinstated. | ||
+ | |||
+ | ==Graphics Issues== | ||
+ | |||
+ | If you do not see a level scheme diagram after loading a level scheme or a saved session, click "Examine fig. window" once. The level scheme should then appear. | ||
+ | |||
+ | If it does not, or if the level scheme window buttons (zoom, pan, etc.) do not work, you may need to change the graphics back-end. The matplotlib graphics library used for the level scheme and particle detector layout comes with several choices of back-ends. | ||
+ | |||
+ | *On OS X machines, "macosx" may work best. | ||
+ | *On Ubuntu, GTKAgg works best, but the user must click "Examine fig. window" 'once' after loading a level scheme or saved session. | ||
+ | |||
+ | The back-end is in the matplotlibrc file in the .matplotlib directory, or will be, after you start Rachel for the first time. | ||
+ | |||
+ | <pre> | ||
+ | hayes@Sobchak:~$ cd .matplotlib/ | ||
+ | hayes@Sobchak:~/.matplotlib$ ll | ||
+ | total 116K | ||
+ | drwxr-xr-x 3 hayes hayes 4.0K Nov 5 12:30 ./ | ||
+ | drwxr-xr-x 125 hayes hayes 12K Nov 5 12:53 ../ | ||
+ | -rw-r--r-- 1 hayes hayes 92K Oct 27 13:13 fontList.cache | ||
+ | -rw-r--r-- 1 hayes hayes 17 Aug 19 02:09 matplotlibrc | ||
+ | drwxrwxr-x 2 hayes hayes 4.0K Oct 27 13:13 tex.cache/ | ||
+ | hayes@Sobchak:~/.matplotlib$ cat matplotlibrc | ||
+ | backend : GTKAgg | ||
+ | hayes@Sobchak:~/.matplotlib$ | ||
+ | </pre> | ||
+ | |||
+ | Change the backend line as desired. The choices are found | ||