python Programming Glossary: ax.set_ylim
Shade 'cells' in polar plot with matplotlib http://stackoverflow.com/questions/10837296/shade-cells-in-polar-plot-with-matplotlib theta r z ax2.set_title 'Cells' for ax in ax1 ax2 ax.set_ylim 0 1 ax.set_yticklabels plt.show If your data isn't already on..
Simple animation of 2D coordinates using matplotlib and pyplot http://stackoverflow.com/questions/10896054/simple-animation-of-2d-coordinates-using-matplotlib-and-pyplot ax.plot x y marker 'o' linestyle 'None' ax.set_xlim 0 10 ax.set_ylim 0 10 else new_x np.random.randint 10 size 5 new_y np.random.randint..
Closing pyplot windows http://stackoverflow.com/questions/11140787/closing-pyplot-windows 1 1 1 subplots_adjust top 0.8 ax.set_xlim 100 100 ax.set_ylim 100 100 ax.set_xlabel 'X' ax.set_ylabel 'Y' axsliderA axes 0.12..
Step function in matplotlib http://stackoverflow.com/questions/12841847/step-function-in-matplotlib x y ax.set_xlabel 'Time s ' ax.set_ylabel r'Jerk m s^3 ' ax.set_ylim 1.5 1.5 ax.set_title 'Jerk Produced by the Engine' plt.show..
matplotlib very slow. Is it normal? http://stackoverflow.com/questions/13046127/matplotlib-very-slow-is-it-normal 0 grid 1 plot_cnt plot_cnt 1 plt.setp ax 'frame_on' False ax.set_ylim 0.1 1.1 ax.set_xlabel 'K L '.format k l size 3 ax.set_xlim 0.1.. these y_offset 7 # tune these plt.setp ax 'frame_on' False ax.set_ylim 0 K_max K_min 1 y_offset ax.set_xlim 0 L_max L_min 1 x_offset..
matplotlib 3d plot with changing labels http://stackoverflow.com/questions/16468538/matplotlib-3d-plot-with-changing-labels 'Y Label' ax.set_zlabel 'Z Label' ax.set_xlim 10 11 ax.set_ylim 10 11 ax.set_zlim 10 11 lin None for x y z t in data ax.set_title..
Logarithmic y-axis bins in python http://stackoverflow.com/questions/17952279/logarithmic-y-axis-bins-in-python 25.0 25.5 26.0 26.5 27.0 27.5 28.0 ax.set_xlim 23.5 28 ax.set_ylim 0 30 ax.grid True plt.yscale 'log' plt.show I've also tried..
Secondary axis with twinx(): how to add to legend? http://stackoverflow.com/questions/5484922/secondary-axis-with-twinx-how-to-add-to-legend 1 ax2.set_ylabel r Temperature ^ circ C ax2.set_ylim 0 35 ax.set_ylim 20 100 plt.show So I only get the labels of the first axis in.. 1 ax2.set_ylabel r Temperature ^ circ C ax2.set_ylim 0 35 ax.set_ylim 20 100 plt.show Which will give you this share improve this..
Creating graph with date and time in axis labels with matplotlib http://stackoverflow.com/questions/5498510/creating-graph-with-date-and-time-in-axis-labels-with-matplotlib dates.MinuteLocator ax.xaxis.set_major_formatter hfmt ax.set_ylim bottom 0 plt.xticks rotation 'vertical' plt.subplots_adjust..
Is there a way to tell matplotlib to loosen the zoom on the plotted data? http://stackoverflow.com/questions/6230627/is-there-a-way-to-tell-matplotlib-to-loosen-the-zoom-on-the-plotted-data axrng new_max axmax 0.1 axrng return new_min new_max ... ax.set_ylim larger_axlim ax.get_ylim ... Documentation get_ylim share..
Equivalent of Matlab's cluster quality function? http://stackoverflow.com/questions/6644445/equivalent-of-matlabs-cluster-quality-function X.shape 0 s order height 1.0 edgecolor 'none' color clr ax.set_ylim ax.get_ylim 1 plt.yticks ytick ytickLabels plt.xlabel 'Silhouette..
Calculating the percentage of variance measure for k-means? http://stackoverflow.com/questions/6645895/calculating-the-percentage-of-variance-measure-for-k-means 2 markeredgecolor 'r' markerfacecolor 'None' ax.set_ylim 0 100 plt.grid True plt.xlabel 'Number of clusters' plt.ylabel..
Intraday candlestick charts using MatPlotLib http://stackoverflow.com/questions/9673988/intraday-candlestick-charts-using-matplotlib horizontalalignment 'right' ax.set_ylabel 'Quote ' size 20 ax.set_ylim 177 196 candlestick ax data2 width 0.5 colorup 'g' colordown..
|