Hello Prateek Gupta,

Thank you for your reply. Maybe my forehead expression is not clear.

 I want to overlay two sliceplots together
 For example: I have a temperature field and a density field, 
 then I want to plot the distributions of temperature field and density field in one sliceplot.
The X-Y axis of the plot is physical location coordinate.
In such a plot, we can find the temperature value and density value on each physical location.

I will be appreciated if you can give me some more suggestions, thank you!

Best wishes,
He Yifeng



发件人:Prateek Gupta <prateekgidolia@gmail.com>
发送日期:2022-03-26 20:10:44
收件人:Discussion of the yt analysis package <yt-users@python.org>
主题:[yt-users] Re: How to plot one kind of field value over another field value
Hello He Yifeng,

I may have missed something, but are you looking for plotting the contours for one field over the 2D sliced/projected plot of another field?
Otherwise, maybe a phase-plot can help you in achieving your science goal.

Thanks,
-Prateek Gupta.

On Sat, Mar 26, 2022 at 11:30 AM <hyf@stu.pku.edu.cn> wrote:
Hi everyone:

I want to plot two kinds of field values in one figure and I have searched information about OVERPLOT of YT.

It seems that there is no function can do this.

I will be appreciated if anyone can give me some suggestions, thank you all!

Best wishes,
He Yifeng
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: prateekgidolia@gmail.com