I'd like to display a scatter plot with axes passing through the origin, 
which is in the center of the plot. This is how I setup the plot:

plotWidget = pg.plot(title="Sensor position")
scatter_plot = pg.ScatterPlotItem()
scatter_plot.setData(pos=pos)
plotWidget.addItem(scatter_plot)
plotWidget.setRange(xRange=(-2.0,2.0), yRange=(-2.0,2.0))

It looks like that an AxisItem can only be positioned at ‘left’, ‘right’, 
‘top’, or ‘bottom’ positions. Are there alternatives?

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/72587dfe-2e41-4628-bdda-26279bbf552en%40googlegroups.com.

Reply via email to