0
$\begingroup$

How can I remove three of the edges (of axes) displayed when using ListDensityPlot3D (see image below)? The three edges "obstruct" the view and I would like to remove them, if possible, while retaining the other edges. For example, in

data = Table[x y z, {z, -1, 1, 2/40.}, {y, -1, 1, 2/40.}, {x, -1, 1, 2/40.}];
ListDensityPlot3D[data]

How to remove the edges marked with red arrows?

So far, I see that the Boxed->False option allows to remove all edges, but not specific ones.

enter image description here

$\endgroup$
1

1 Answer 1

1
$\begingroup$
data = Table[x y z, 
       {z, -1, 1, 1/20},
       {y, -1, 1, 1/20}, 
       {x, -1, 1, 1/20}];
ListDensityPlot3D[data, 
    Axes -> True,
    Boxed -> False,
    AxesStyle -> Thick,
    AxesEdge -> {{-1, -1}, {-1, 1}, {-1, -1}}]

enter image description here

or

 AxesEdge -> {{1, 1}, {-1, 1}, {1, 1}}

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.