
Hi,
I am trying to create projections of a blob (a gas cloud) that is in motion but I keep on having problems with plotting it such that it is at the center of the plot. I have tried using origin = 'native' but it does not seem to be helping. Could anyone please offer guidance?
Thank you,
Kezman Saboi Barrett Honors College|Arizona State University Astrophysics Phone|480-819-5031

Hi Kezman,
“origin” specifies the axis and your plot domain, and what you’re looking for is the “center” parameter, and provide the coordinates of the blob to the parameter “center”. You can find some similar SlicePlot examples with a specified plot center here: http://yt-project.org/docs/dev/visualizing/plots.html#slice-plots http://yt-project.org/docs/dev/visualizing/plots.html#slice-plots
Best wishes, — Suoqing JI Ph.D Candidate Department of Physics University of California, Santa Barbara http://physics.ucsb.edu/~suoqing
On Jan 3, 2018, at 12:30 PM, Kezman Saboi ksaboi@asu.edu wrote:
Hi,
I am trying to create projections of a blob (a gas cloud) that is in motion but I keep on having problems with plotting it such that it is at the center of the plot. I have tried using origin = 'native' but it does not seem to be helping. Could anyone please offer guidance?
Thank you,
Kezman Saboi Barrett Honors College|Arizona State University Astrophysics Phone|480-819-5031 _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Kezman Saboi
-
Suoqing Ji