for i in range(len(all_axes) - 2): ax = all_axes[i] plt.setp(ax.get_xticklabels(), visible=False) gl.format_axis2(all_axes[-2], Nx=20, Ny=5, fontsize=-1, rotation=45) plt.subplots_adjust(left=.09, bottom=.10, right=.90, top=.95, wspace=.20, hspace=0) trading_station = 1 if (trading_station == 1): gl.init_figure() gl.tradingPlatform(timeData, volumeFactor=1) # Define the axes as we want or... # marginL = 0.05 # marginB = 0.05 # trading_pos = [0.05,0.05,0.9,0.35] # low_ax_pos2 = [0.05,0.05,0.9,0.3501] # # gl.init_figure() ## gl.create_axes(position = [0.05,0.05, 0.8, 0.8]) # ax1 = gl.subplot2grid((5,4), (0,0), rowspan=3, colspan=4) # gl.tradingPV(timeData) # # ax2 = gl.subplot2grid((5,4), (3,0), rowspan=1, colspan=4) # RSI = timeData.RSI(n = 14) # gl.tradingOcillator(timeData, RSI)
# gl.add_onKeyPress() # gl.Heiken_Ashi_graph(timeData.TD.ix[timeData.time_mask], nf = 0) ############################################################# ############## Random graphical Properties ################################# ############################################################# randomp_f = 0 if (randomp_f == 1): gl.set_subplots(2,2) timeData.scatter_deltaDailyMagic() trading_station = 0 if (trading_station == 1): gl.tradingPlatform(timeData,volumeFactor = 1) # Define the axes as we want or... # marginL = 0.05 # marginB = 0.05 # trading_pos = [0.05,0.05,0.9,0.35] # low_ax_pos2 = [0.05,0.05,0.9,0.3501] # # gl.init_figure() ## gl.create_axes(position = [0.05,0.05, 0.8, 0.8]) # ax1 = gl.subplot2grid((5,4), (0,0), rowspan=3, colspan=4) # gl.tradingPV(timeData) # # ax2 = gl.subplot2grid((5,4), (3,0), rowspan=1, colspan=4) # RSI = timeData.RSI(n = 14) # gl.tradingOcillator(timeData, RSI)