Hello,
I installed the latest version of viskex on ubuntu. And now the plot of vector field automatically includes the mesh. Is there a way to plot only the field?
Hello,
I installed the latest version of viskex on ubuntu. And now the plot of vector field automatically includes the mesh. Is there a way to plot only the field?
There are three different modes. I guess you mean this one?
viskex.dolfinx.plot_vector_field(field, "name", glyph_factor=number)
I am not able to check now, but maybe try adding a “color=black” to have the underlying mesh plotted with a uniform color rather than colored as the magnitude of the field.
I am sorry to ask a question in a terrible way. I haven’t figure out how to use ubuntu properly yet. Here are two plots.
The first figure is the plot I have on my laptop. On this device the fenicsx and viskex were installed like two months ago. The second one is the plot I have on ubuntu. The software was installed like yesterday. There is a mesh somehow. And I don’t know how to remove it… At the moment I don’t need to see them together.
Add show_edges=False
.
If you wish, open an issue at Issues · viskex/viskex · GitHub to remind me that I should be showing that in tutorial 01. I won’t be able to process it for a few weeks, but at least it would be there as a reminder.
Yes I have created in github. I think it would be very helpful if you can add some usage of options albeit the visualization is very convenient.