Hey all,
I was hoping that someone might have a suggestion or answer for an
issue I'm having with generating simple radial profiles from
simulation data. The profiles automatically generate axis bounds and
while I can set the bounds on the x axis using the x_bounds parameter,
I don't know how, or if it's even possible, to set a similar
restriction for the y axis. (I have tried simply setting a y_bounds
parameter, but the script breaks stating that y_bounds is unrecognized).
Here is an example of the code:
from yt.mods import * # set up our namespace
for n in range(1,242):
pf = load("/work/01198/earln/RSW_nC_1-0/DD%04i/DD%04i" % (n,n))
pc = PlotCollection(pf, center=[0.5, 0.5, 0.5])
pc.add_profile_sphere(10.0, "mpc",
["Radius", "RadialVelocity"], weight="CellMassMsun",
x_bounds=(1.0e+18,1.0e+20), y_bounds=(1e-3, 1.e+8))
pc.save("/work/01198/earln/RSW_nC_1-0/graph-data_radvel/
profiles/%s" % pf)
Any suggestions or help would be greatly appreciated,
Nicholas Earl
Hey all,
I was hoping that someone might have a suggestion or answer for an
issue I'm having with generating simple radial profiles from
simulation data. The profiles automatically generate axis bounds and
while I can set the bounds on the x axis using the x_bounds parameter,
I don't know how--or if it's even possible--to set a similar
restriction for the y axis. (I have tried simply setting a y_bounds
parameter, but the script breaks stating that y_bounds is unrecognized).
Any suggestions or help would be greatly appreciated,
Nicholas Earl
Hi,
Sorry if this is the not appropriate list for yt-docs. I can't find one.
While trying to build the latex documentation with sphinx (using a hg
check out), I got a lot of warnings like
"/home/0/00work/amr/yt/yt-doc-hg/yt-doc/source/cookbook/aligned_cutting_plane.rst::
WARNING: image file not readable:
cookbook/_aligned_cutting_plane/aligned_cutting_plane_RedshiftOutput0005_CuttingPlane__Density.png"
and make all-pdf in the _build/ directory failed with messages like
"!pdfTeX error: pdflatex (file
cookbook/_simple_slice/simple_slice_RedshiftOutput0005_Slice_x_Density.png):
cannot find image file"
How can it be fixed?
Regards,
ST
--