The picture"plot_1"is totally full of white!
It means that nothing stand in plane x-y from the view of z axis.
But the other 2 pictures remind me that there must be somethting when you look from z axis.
As you can see, What I am trying to do is use the plot of voxel. But I want to share this problem to all of you, in case of someone else gets stuck in it.
@Seamoon If you haven’t already, I would strongly recommend taking a look at our openmc-plotter application which gives you a nice GUI to explore your model without having to generate Plot objects manually.
Paul, thanks for your reply! But I’m using OpenMC in WSL Ubuntu, which has no GUI. What I would like to know is the correct steps to install&use openmc-plotter.
Installing the plotter is easy: either pip install openmc-plotter or conda install openmc-plotter. However, running a GUI application through WSL Ubuntu may run into problems. On recent versions of Windows 11 though, running GUI apps should be possible.
@paulromano Thanks for your reply! After hours of installing softwares into WSL and Windows, I finally successfully install all the support softwares of OpenMC Plot Explorer & itself.
With the help of OpenMC Plot Explorer, I can clearly see the BOX, but I cann’t find out the reason why my code “plot1” outcomes a full white background up to now.
By the way, the reason why I can survive from the terrible experience of softwares installation is the beauty of Eagles’s song <Love Will Keep Us Alive,
Before WSL2 you need an X-server running in windows which you can connect. I’ve had some good mileage from Xming.
Once started you’d have to set the DISPLAY environment variable in your shell to point to the server, so clients can connect to it. Like so: export DISPLAY=localhost:0.0
This has worked well for me in the past.