|
From: Daniel J S. <dan...@ie...> - 2006-07-15 14:00:05
|
Bob Fletcher wrote: > Sirs: > > I am a gnuplot (and Linux) neophyte and am very curious about a > difference in the functionality of *gnuplot Version 4.1 on Windows and > on Linux (Fedora Core 5). > > On Windows, a right-click on the title bar gives me the option to "Copy > to Clipboard". I really like this feature and use it to paste figures > into MS Word documents - I think as emf's. (By the way, I have never > been successful with the "Print" option, but I haven't tried very hard > either.) > > Experimenting on my Linux machine, I downloaded (via CVS) and built > gnuplot Version 4.1 and successfully ran it. (You have some really nice > demo plots by the way.) Here, however, I can find nothing equivalent to > the "Copy to Clipboard" option offered in the Windows version. Perhaps I > am just missing it somewhere, but this should be useful for pasting into > Open Office documents. Maybe there is some fundamental issue here that I > don't understand. I've placed a patch on SourceForge that moves more toward conventional X11 "selection" options, i.e., paste to clipboard than can be had using CNTRL-V in other apps as well as the variety of "selection" where the center mouse button will copy into another app. The copy to clipboard is a static pixel map, i.e., even if you replot in that window the clipboard will remain as before until one types 'c' again. So the variations are <double click> - "select" mouse coords 't' - "clipboard" some sample text 's' - "select" the pixel map 'c' - "clipboard" the pixel map. This is *proof of concept*. Bindings can all be redone. Behavior can be used to force something automatically on plot or splot. One thing to consider is removing the "export_selection" variable option. That seems like unnecessary twiddling if we get a good set of selection options. (Unless that option is meant to be "automatic paste" or something, I don't know.) Dan |