Commit 62b8d0a7 authored by Yan's avatar Yan
Browse files

minor fix

documented recently added functionalities
parent 6d5f7e79
......@@ -3,3 +3,10 @@ Prasopes is a free and open source Thermo/Finnigan .RAW spectra viewer. It is an
## Usage
If running from cmdline, the first argument is taken as a spectrum file. Otherwise use File -> Open or Ctrl+O to open a spectrum.
## GUI control ##
doubleclick - reset active graph
right button selection - select timelapse in chromatogram; zoom by selection in mass spectrum
left button - panning in both
scrolling - zoom in and zoom out on x-axis
shift + scrolling - zoom in and zoom out on y-axis
......@@ -58,7 +58,6 @@ def pan_factory(ax, plot=None, an=None):
ax.autoscale(True)
ax.set_ylim(ax.get_ylim()[1]*-0.01,ax.get_ylim()[1]*1.1)
ax.figure.canvas.draw()
print("doubleclick")
elif event.button == 1 and event.inaxes == ax:
ax.start_pan(event.x, event.y, event.button)
id_drag = fig.canvas.mpl_connect('motion_notify_event', drag_fun)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment