Isosurface and a 2D figure with the same scale and origin using mayavi
I am using mayavi to plot an iso surface from a 3D array s using the following piece of code:
Then I want to create a plot within this iso surface representing some geometrical info regarding the isosurface, for that I use a previously defined function called geom_macro(ax) and simply call it by typing:
But the plot I get, although shows a good view of the isosurface it has an almost invisible plot of geom_macro() function, which not only is size wise not comparable in any way to the iso surface, but is in an 'out of center' location (and with a diferent x,y,z saptial orientation). If I plot the two objects separately I get nice figures of both of them.
Just for completing the picture of what I have, the last part of the defined function (geom_macro()) looks like this (AtPos and Geomlst contains the (x,y,z) coordinates of what I am plotting, and dist_btn_points is another defined function):
I have tried changing the extent in the isosurface, using the minimum values of x, y and z, but the isosurface gets distorted -not sure why-) Any help will be highly appreciated. Thank you!
Hello,
I am trying to increase lvsize however it gives below error what's the way that I can increase this size?
# lvextend -L +20G /dev/VGExaDb/volsnap
Snapshot origin volumes can be resized only while inactive: try lvchange -an
Best regards,
Vishal (1 Reply)
Dear Experts,
I want to use bc to do some multiplication and return me a value with number of decimal places defined by myself.
For example:
echo "scale=10; 1.65*7" | bc
returns me:
11.55
But what I really want is to have is a result with 10 digits after the point which... (4 Replies)