Hi Everyone,
I have a simulation with an axis symmetry so i want to plor full simulation
using the flip function. However, both plots are flipped in te resulting
imagen. Is there a way to flip just one of them? Thanks in advance.
for i in range(0,2):
print(i)
# Load the data and create a single plot
ds = yt.load(fn) # load data
p = yt.plot_2d(ds, ("Temp"))
p.set_width((4,1))
if i == 1:
p.flip_vertical()
print("vertical")
# This forces the ProjectionPlot to redraw itself on the AxesGrid axes.
plot = p.plots[("Temp")]
plot.figure = fig
plot.axes = grid[i].axes
plot.cax = grid.cbar_axes[i]
# Finally, this actually redraws the plot.
p.render()
plt.savefig("multiplot_2x2_time_series.png")
_______________________________________________
yt-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: [email protected]