2014-04-28 8 views
5

मैंने देखा कि मैं टर्मिनल X11 के साथ, gnuplot में एक साजिश ज़ूम करने के लिए माउस के दाएं बटन का उपयोग कर सकता हूं।माउस में gnuplot x11

मुझे अन्य माउस इशारे के लिए कोई दस्तावेज नहीं मिला है। उदाहरण के लिए, कुछ ज़ूम आउट करना ठीक होगा! क्या आप इसका सुझाव दे सकते हैं?

बेस्ट,

अल।


संपादित करें: जाहिर है, केवल संभावना सही माउस बटन के साथ ज़ूम और वापस आने के लिए, के रूप में क्रिस्टोफ सुझाव कुंजी पी उपयोग करने के लिए है।

उत्तर

7

हां, दस्तावेज़ीकरण इस बारे में बहुत स्पष्ट नहीं है। आप help mouse के तहत इस बारे में कुछ जानकारी प्राप्त कर सकते हैं (इसे इंटरैक्टिव gnuplot टर्मिनल में टाइप करें, या पीडीएफ में सेक्शन Mouse देखें)। यह आपको उदाहरण के लिए दिखाता है, कि आप x और y दिशा में स्क्रॉल करने के साथ-साथ ज़ूमिंग (help mouse scrolling) में स्क्रॉल करने के लिए माउस व्हील का उपयोग कर सकते हैं।

सभी इशारों, प्रकार show bind, जो मुझे देता है (लिनक्स, 4.6.4) प्राप्त करने के लिए:

gnuplot> show bind 

2x<B1>    print coordinates to clipboard using `clipboardformat` 
        (see keys '3', '4') 
<B2>    annotate the graph using `mouseformat` (see keys '1', '2') 
        or draw labels if `set mouse labels is on` 
<Ctrl-B2>   remove label close to pointer if `set mouse labels` is on 
<B3>    mark zoom region (only for 2d-plots and maps). 
<B1-Motion>  change view (rotation). Use <ctrl> to rotate the axes only. 
<B2-Motion>  change view (scaling). Use <ctrl> to scale the axes only. 
<Shift-B2-Motion> vertical motion -- change xyplane 
<wheel-up>   scroll up (in +Y direction). 
<wheel-down>  scroll down. 
<shift-wheel-up> scroll left (in -X direction). 
<shift-wheel-down> scroll right. 
<control-wheel-up> zoom in toward the center of the plot. 
<control-wheel-down> zoom out. 
<shift-control-wheel-up> zoom in only the X axis. 
<shift-control-wheel-down> zoom out only the X axis. 

Space   raise gnuplot console window 
q   * close this plot window 

a    `builtin-autoscale` (set autoscale keepfix; replot) 
b    `builtin-toggle-border` 
e    `builtin-replot` 
g    `builtin-toggle-grid` 
h    `builtin-help` 
l    `builtin-toggle-log` y logscale for plots, z and cb for splots 
L    `builtin-nearest-log` toggle logscale of axis nearest cursor 
m    `builtin-toggle-mouse` 
r    `builtin-toggle-ruler` 
1    `builtin-previous-mouse-format` 
2    `builtin-next-mouse-format` 
3    `builtin-decrement-clipboardmode` 
4    `builtin-increment-clipboardmode` 
5    `builtin-toggle-polardistance` 
6    `builtin-toggle-verbose` 
7    `builtin-toggle-ratio` 
n    `builtin-zoom-next` go to next zoom in the zoom stack 
p    `builtin-zoom-previous` go to previous zoom in the zoom stack 
u    `builtin-unzoom` 
Right   `builtin-rotate-right` only for splots; <shift> increases amount 
Up    `builtin-rotate-up` only for splots; <shift> increases amount 
Left   `builtin-rotate-left` only for splots; <shift> increases amount 
Down   `builtin-rotate-down` only for splots; <shift> increases amount 
Escape   `builtin-cancel-zoom` cancel zoom region 
+0

यह मदद बहुत अच्छा होगा! दुर्भाग्यवश "दिखाएं बाइंड" मेरे gnuplot में मान्य नहीं है। मैं ज़ूम इन करने के लिए केवल सही बटन का उपयोग करने में सक्षम हूं! Gnuplot संस्करण "4.2 पैचलेवल 6" है, टर्मिनल x11 – altroware

+0

ऐसा लगता है कि यह संस्करण 4.4.3 में अपनी समाचार फ़ाइल से पेश किया गया था: 'नया कार्यान्वयन पैन और माउस व्हील के माध्यम से ज़ूम करें।' – Christoph

+0

लेकिन मैं अभी भी दाईं ओर ज़ूम इन कर सकता हूं बटन। ज़ूम आउट करने का कोई तरीका नहीं है? – altroware

-1

मैं जानता हूँ कि यह एक पुरानी पोस्ट है, लेकिन मैं ग्राफ के परेशानी हो रही किया गया है gnuplot विंडो के लिए बहुत बड़ा होने (संस्करण 4.6 पैचलेवल 6)।

मुझे जो समाधान मिला वह स्क्रॉल व्हील और पैन को क्रमशः ज़ूम आउट करने के लिए बाएं या दाएं को पकड़ना था।

उम्मीद है कि यह मदद करता है।

+0

फिर आप कुछ और गलत कर रहे हैं। इस सवाल के जवाब के रूप में उपयुक्त नहीं है – Christoph