<div dir="ltr"><div><div><div><div>Hi everyone! <br><br></div>I have a few more PhasePlots questions. <br>1) I would like to force my axes to be a particular range. I am looking at several times in my simulation, and the length of the stripped tail increases, so different PhasePlots end up with different height above the disk x-axis ranges, which makes comparison more annoying. <br>
<br></div>2) I would like for the last tick label to be blank--to not print out on the figure (in the attachment, I would like for '100' to not be there). <br><br></div>3) On a slightly different note, I want the bin size to be bigger. The PhasePlots look very streaky, see attached. <br>
<br></div>I will paste my current set of commands for making my PhasePlot. Thanks for any help!<br><br>Stephanie<br><br><br>plot = PhasePlot(tracerp25,"zkpc","zvelocity8",["CellMassMsun"],weight_field=None,fontsize=19)#,x_bounds=[3e-28,5e-23],y_bounds=[-0.7,1.2])<br>
plot.set_log("zkpc",False)<br>plot.set_log("zvelocity8",False)<br>plot.set_zlim("CellMassMsun",1e4,1e9)<br>plot.set_figure_size(3)<br><br>ax = plot.plots['CellMassMsun'].axes<br>ax.set_ylabel(r'z-velocity (10$^8$ cm/s)',fontsize=10)<br>
ax.set_xlabel(r'Height above disk (kpc)',fontsize=10)<br>print r'z-velocity (10$^8$ cm/s)'<br>for label in ax.xaxis.get_ticklabels():<br> #label.set_color('red')<br> label.set_rotation(35)<br>
label.set_fontsize(11)<br>for label in ax.yaxis.get_ticklabels():<br> label.set_fontsize(10)<br><br>plot.save()<br></div>