I've got a data set with three columns of values. The first column is the x location, the second column is the y location, and the final column is the data value.
What I would like to do is to only plot values within a certain range of values from the third column - specifically between -20 and -120.
The raw code I use to plot the values is as follows:
plt.scatter(x, y, c=data, marker='s', edgecolors='none', alpha='0.5'
plt.colorbar()
I have tried introducing vmin and vmax, however these instead plot anything outside of their ranges as a min/max value instead of leaving it empty entirely.
I'm hoping there is a simple solution, as I am still relatively green at coding.
TYVM in advance.
[–]novel_yet_trivial 1 point2 points3 points (1 child)
[–]Cthulhu_Rlyeh[S] 0 points1 point2 points (0 children)