<div dir="ltr"><div><div>Hi users,<br><br></div>I am still fiddling with PhasePlot, and would now like to be able to have some text inside the window.  I am *not* looking for a legend box or anything, just text.  If I were writing this on a plot in python I would just be looking to use p.text(x,y,'text').  I will paste the section of code writing the PhasePlot below.<br>
<br></div>Thanks!<br><br>Stephanie<br><br>profile = Profile2D(tracerp25, x_field='zkpc', x_n=36, x_min=-6., x_max=0.,x_log=False,y_field='BMagnitude',y_n=40,y_min=1e-8,y_max=1e-4,y_log=True,weight_field=None)<br>
profile.add_fields(['CellMassMsun'])<br>plot = PhasePlot(tracerp25,"zkpc","BMagnitude",["CellMassMsun"],profile=profile,fontsize=21)<br>plot.set_log("totPressure",True)<br>plot.set_log("z-velocity",False)<br>
plot.set_log("zvelocity8",False)<br>plot.set_zlim("CellMassMsun",9e3,1e8)<br>plot.set_figure_size(4.5)<br>plot.set_cmap(field="CellMassMsun",cmap='Eos B')<br><br>plot.plots['CellMassMsun'].hide_colorbar()<br>
ax = plot.plots['CellMassMsun'].axes<br>ax.set_ylabel(r'|B| (Gauss)',fontsize=18)<br>#ax.set_xlabel('z dist from disk plane (kpc)',fontsize=27)<br>#ax.set_ylabel(r' ',fontsize=27)<br>#ax.set_xlabel('dist below disk plane (kpc)',fontsize=18)<br>
ax.set_xlabel(r' ',fontsize=18)<br><br>for label in ax.xaxis.get_ticklabels():<br>    label.set_rotation(35)<br>    label.set_fontsize(18)<br>    label.set_visible(False)<br>for label in ax.yaxis.get_ticklabels():<br>
    label.set_fontsize(18)<br>#    label.set_visible(False)<br>    <br>ax.xaxis.set_ticks([-6,-5,-4,-3,-2,-1,0])<br>plot.save()<br></div>