我正在使用ginput的图形选择几个点沿时间信号。有时,当信号太密集时,在选择点之前放大一个区域可能是有用的。我的问题是,zoom to rectangle选项似乎在ginput中得到了考虑。例如,使用此示例代码:from pylab import arange, plot, sin, ginput, showplot(t, sin(t))
x = ginput</
plta = np.arange(10)plt.plot(a,b)x = plt.ginput://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
x = plt.ginput
我使用MATLAB中的ginput函数来使用光标收集图像上的多个x,y坐标。我沿着图像遵循一定的路径,需要放大以获得精确的坐标,但是在使用ginput时禁用了缩放选项。A = imread('image1.tif');[x,y] = ginput;
% at this point i scan the image and click
我希望在基于ginput图的matplotlib散点图中使用查询的值。image - Middle Click to remove the last point - Right click to End plotting"
pts = ginput(n=0, timeout=0, mouse_add=1, mouse_pop=2, mouse_stop=我现在需要一些帮助/代码/