-
-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to close an Axis3
's outline box
#2349
Comments
DescriptionI started working on this. So far I can close the outlinebox after adding fields for the color of Spine 4 to the Axis3-type and modifying add_gridlines_and_frames! to optinaly use either 6 or 8 Points to make the Framelines. I controll this by setting and the field fullbox I also added to the Axis3-type. QuestionCan someone give me a hint how tho achieve that the front spines are shown above the contents of the box? Changes in the code
|
Oh there is also already a pr for this, but it seems to have stalled. #2742 The lines end up behind because of Makie.jl/src/makielayout/blocks/axis3d.jl Lines 443 to 449 in 99dcf6b
That projects the 3D coordinates into screen space and then sets their depth values to the lowest possible value, i.e. as far behind as possible. Continuing this infrastructure would require you to figure out which lines are in front and set them (start and end point) to +10000 z. |
Thanks for that fast answer!
But this is not the case. Actually I didn't notice any changes in my plots. |
Oh, I just found out that this is backend dependent. |
Ah yes, this wouldn't be expected to work in CairoMakie. I guess add an Attribute to Axis3 to control whether the full frame is drawn or not? |
As requested on Discord, implement the
ax.BoxStyle = 'full';
option fromMATLAB
here: https://www.mathworks.com/help/matlab/ref/box.htmlI think that might be a good first issue. Could somebody please add a tag?
The text was updated successfully, but these errors were encountered: