I want to indicate the frequency of the markers that are printed on my scatter plot. After failing with markevery ( another stack question: problems using markevery ) I followed the suggestion to trim my values ββusing the notation x [:: 5] and y [:: 5] for every fifth value.
However, now I get another error. I.e
Traceback (most recent call last): File "C:\Users\mkupfer\NASA_SJSU_UARC_work\Info\CodingExamples\PythonExamples\XY-Value_Plot_Z-SimTime_02_noSectors.py", line 26, in <module> timePlot = ax.scatter(x[::5], y[::5], s=50, c=timeList, marker = marker.next(), edgecolors='none', norm=cNorm, cmap = plt.matplotlib.cm.jet)
Here is a simplified version of my code:
import numpy as np import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.lines as lines from matplotlib import cm import csv import itertools import random
Can someone please let me know where I made a mistake? Any help is appreciated. Thanks.
source share