mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Remember to get rid of the junk comments!
This commit is contained in:
@@ -32,46 +32,4 @@ plt.ylabel("Interval period (us)")
|
||||
plt.xlabel("Response (us)")
|
||||
plt.show()
|
||||
|
||||
## Add a subplot with no frame
|
||||
#ax = plt.subplot(111, frameon=False)
|
||||
#
|
||||
## Generate random data
|
||||
#X = numpy.linspace(-1, 1, frequencies.shape[-1])
|
||||
#G = 1.5 * numpy.exp(-4 * X ** 2)
|
||||
#
|
||||
#
|
||||
## Generate line plots
|
||||
#lines = []
|
||||
#for i in range(len(frequencies)):
|
||||
# # Small reduction of the X extents to get a cheap perspective effect
|
||||
# xscale = 1 - i / 300.
|
||||
#
|
||||
# # Same for linewidth (thicker strokes on bottom)
|
||||
# lw = 1.5 - i / 200.0
|
||||
#
|
||||
# # Scale.
|
||||
# row = frequencies[i]
|
||||
# max = numpy.amax(row)
|
||||
# if max == 0:
|
||||
# Y = 1
|
||||
# else:
|
||||
# Y = 5 / max
|
||||
# line, = ax.plot(xscale*X, i + Y*frequencies[i], color="w", lw=lw)
|
||||
# lines.append(line)
|
||||
#
|
||||
## Set y limit (or first line is cropped because of thickness)
|
||||
##ax.set_ylim(-1, 100)
|
||||
#
|
||||
## No ticks
|
||||
##ax.set_xticks([])
|
||||
##ax.set_yticks([])
|
||||
#
|
||||
## 2 part titles to get different font weights
|
||||
##ax.text(0.5, 1.0, "MATPLOTLIB ", transform=ax.transAxes,
|
||||
##ha="right", va="bottom", color="w",
|
||||
##family="sans-serif", fontweight="light", fontsize=16)
|
||||
##ax.text(0.5, 1.0, "UNCHAINED", transform=ax.transAxes,
|
||||
##ha="left", va="bottom", color="w",
|
||||
##family="sans-serif", fontweight="bold", fontsize=16)
|
||||
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user