# \#3d

**URL:** https://discourse.julialang.org/tag/3d/495.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Controlling Blender from Julia using bpy and PythonCall.jl](https://discourse.julialang.org/t/controlling-blender-from-julia-using-bpy-and-pythoncall-jl/137707)

<div class="topic-metadata">

**Author:** [@ChetanVardhan](https://discourse.julialang.org/u/ChetanVardhan)\
**Replies:** 3\
**Last updated:** [July 13, 2026, 7:04pm UTC](https://discourse.julialang.org/t/controlling-blender-from-julia-using-bpy-and-pythoncall-jl/137707 "2026-07-13T19:04:12Z")

</div>

Recently I have been trying to use Blender from Julia. I have got a pretty good workflow using the rpyc package in Python. With this, we can import bpy in Julia using PythonCall.jl This is the Python script to be run i…

---

## [Precipitates in a 3D matrix](https://discourse.julialang.org/t/precipitates-in-a-3d-matrix/132002)

<div class="topic-metadata">

**Author:** [@ES\_VI](https://discourse.julialang.org/u/ES_VI)\
**Replies:** 6\
**Last updated:** [September 2, 2025, 5:15am UTC](https://discourse.julialang.org/t/precipitates-in-a-3d-matrix/132002 "2025-09-02T05:15:56Z")

</div>

Hi Everyone! I am trying to plot my data (4 columns x,y,z,composition) which when plotted in MATLAB looks like the figure attached. I tried other opensource tools like GNUPLOT and Octave. But those show the precipita…

---

## [Unwanted clipping at corners of GLMakie 3d plot](https://discourse.julialang.org/t/unwanted-clipping-at-corners-of-glmakie-3d-plot/131053)

<div class="topic-metadata">

**Author:** [@fegomezl](https://discourse.julialang.org/u/fegomezl)\
**Replies:** 7\
**Last updated:** [July 29, 2025, 2:22pm UTC](https://discourse.julialang.org/t/unwanted-clipping-at-corners-of-glmakie-3d-plot/131053 "2025-07-29T14:22:39Z")

</div>

Hi everyone, I am using contour() from GLMakie to create a 3d level plot. My problem occurs when I zoom in; white triangles appear at the edges of the box, which cover my plot: Does someone know how to fix this? I h…

---

## [Makie 3D "flatten" scatter points in x-y axis](https://discourse.julialang.org/t/makie-3d-flatten-scatter-points-in-x-y-axis/126589)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 2:19pm UTC](https://discourse.julialang.org/t/makie-3d-flatten-scatter-points-in-x-y-axis/126589 "2025-03-06T14:19:02Z")

</div>

Hi there, I’m trying to make a 3D plot with Makie, and I’d like to plot some scatter points “flat” on the x-y plane of the plot. Here is the M(not)WE I have so far: using CairoMakie # Initialize figure fig = Figure(s…

---

## [Volumetric plot?](https://discourse.julialang.org/t/volumetric-plot/119942)

<div class="topic-metadata">

**Author:** [@loisel](https://discourse.julialang.org/u/loisel)\
**Replies:** 6\
**Last updated:** [September 29, 2024, 1:27pm UTC](https://discourse.julialang.org/t/volumetric-plot/119942 "2024-09-29T13:27:20Z")

</div>

Hi, I am considering putting some simple volumetric plots in my package. A previous MATLAB version of this project had simple volumetric plots based on Gouraud-shaded 3d triangular meshes with transparency. However, I d…

---

## [Exporting 3D Makie Plots to .stl files?](https://discourse.julialang.org/t/exporting-3d-makie-plots-to-stl-files/99308)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 7\
**Last updated:** [July 22, 2024, 11:09pm UTC](https://discourse.julialang.org/t/exporting-3d-makie-plots-to-stl-files/99308 "2024-07-22T23:09:52Z")

</div>

I did a quick search of the Makie docs and here on discourse and I didn’t see any hits discussing this. Is it possible to export 3D plots to .stl files for 3D printing?

---

## [Mix 3d and 2d coordinates in Makie](https://discourse.julialang.org/t/mix-3d-and-2d-coordinates-in-makie/116350)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 11:54am UTC](https://discourse.julialang.org/t/mix-3d-and-2d-coordinates-in-makie/116350 "2024-06-28T11:54:44Z")

</div>

Is it possible to mix 2d and 3d coordinates in Makie? fig = Figure() axis = Axis3(fig\[1, 1\]) scatter!(axis, 0, 0, 0) # i want this one to be fixed in 2d text!(axis, 0, 0, text = "look here") # draw a line from the label…

---

## [How to construct a \`Mesh\` from faces containing \`TriangleFace\` and \`QuadFace\` with GeometryBasics](https://discourse.julialang.org/t/how-to-construct-a-mesh-from-faces-containing-triangleface-and-quadface-with-geometrybasics/112001)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 5\
**Last updated:** [March 23, 2024, 3:38pm UTC](https://discourse.julialang.org/t/how-to-construct-a-mesh-from-faces-containing-triangleface-and-quadface-with-geometrybasics/112001 "2024-03-23T15:38:17Z")

</div>

I am trying to do read/write of a simple Wavefront .obj file without triangulation. However, the following will result in an error. julia\> using GeometryBasics # v0.4.10 julia\> vertices = Point3f\[(0, 0, 0), (1, 0, 0),…

---

## [How to plot a cube in 3D in Plots.jl](https://discourse.julialang.org/t/how-to-plot-a-cube-in-3d-in-plots-jl/86919)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 10\
**Last updated:** [January 13, 2024, 8:56am UTC](https://discourse.julialang.org/t/how-to-plot-a-cube-in-3d-in-plots-jl/86919 "2024-01-13T08:56:32Z")

</div>

I would like to plot a 3D cube in Plots.jl and I have not been able to. I know that there are solutions in Makie but I would like to use the Plots.jl interface because I want to combine this with other things plotted wi…

---

## [How to set the same uniform units for all axes in 3D surface plot using Plots.jl?](https://discourse.julialang.org/t/how-to-set-the-same-uniform-units-for-all-axes-in-3d-surface-plot-using-plots-jl/108510)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 3\
**Last updated:** [January 8, 2024, 3:10pm UTC](https://discourse.julialang.org/t/how-to-set-the-same-uniform-units-for-all-axes-in-3d-surface-plot-using-plots-jl/108510 "2024-01-08T15:10:32Z")

</div>

I want to have a “normal” plot where all axes are the same, without any scaling, i.e. the length in every axis is the same. surface(xs, ts, f; fillalpha=0.9, camera=(20, 40), aspect\_ratio=1) gives this where 1 in the z…

---

## [How to plot a line in 3D using Plots.jl?](https://discourse.julialang.org/t/how-to-plot-a-line-in-3d-using-plots-jl/108267)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 8\
**Last updated:** [January 8, 2024, 12:15pm UTC](https://discourse.julialang.org/t/how-to-plot-a-line-in-3d-using-plots-jl/108267 "2024-01-08T12:15:54Z")

</div>

How to plot a line in a 3D axis? Say, I want a parabola in the xy-plane (z=0) The straightforward options do not work; This one results an empty canvas \[-1, 1\] x \[-1, 1\]: using Plots xs = -5:1:5 plot(xs, xs.^2, 0) T…

---

## [3d Plots - change axis intersection // inverse axis](https://discourse.julialang.org/t/3d-plots-change-axis-intersection-inverse-axis/51109)

<div class="topic-metadata">

**Author:** [@neo\_abs](https://discourse.julialang.org/u/neo_abs)\
**Replies:** 11\
**Last updated:** [December 1, 2023, 7:00am UTC](https://discourse.julialang.org/t/3d-plots-change-axis-intersection-inverse-axis/51109 "2023-12-01T07:00:24Z")

</div>

I have a 3d plot: using Plots x = \[0,0,0,1,1,1,2,2,2\] y=\[0,1,2,0,1,2,0,1,2\] z = 10\*rand(9) .+ 2\*collect(1:9) plot(x,y,z, st=:surface,camera = (60,15)) axes intersect at: How can I change it so: z and y on min z and…

---

## [How to plot a sequence of probability density functions as lines in (pseudo) 3D?](https://discourse.julialang.org/t/how-to-plot-a-sequence-of-probability-density-functions-as-lines-in-pseudo-3d/105614)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 7\
**Last updated:** [November 2, 2023, 11:42am UTC](https://discourse.julialang.org/t/how-to-plot-a-sequence-of-probability-density-functions-as-lines-in-pseudo-3d/105614 "2023-11-02T11:42:25Z")

</div>

Given a set of PDFs f1(x), f2(x) etc., I’d like to plot something like this: The closest method I found is density from Makie, but it doesn’t work with functions or their values per se. How can I make such a plot?

---

## [Issue of volume render with large 3D data](https://discourse.julialang.org/t/issue-of-volume-render-with-large-3d-data/103395)

<div class="topic-metadata">

**Author:** [@dora\_ho](https://discourse.julialang.org/u/dora_ho)\
**Replies:** 3\
**Last updated:** [September 2, 2023, 6:26pm UTC](https://discourse.julialang.org/t/issue-of-volume-render-with-large-3d-data/103395 "2023-09-02T18:26:53Z")

</div>

Hi, I was trying to volume render a very large 3D data withGLMakie. However, I found this exists a limit for the volume render. This is my plotting scripts GLMakie.volume!(x, y, z, 3DArray, algorithm=:mip , absorpt…

---

## [Help on changing the color of a poly edge in Makie](https://discourse.julialang.org/t/help-on-changing-the-color-of-a-poly-edge-in-makie/102999)

<div class="topic-metadata">

**Author:** [@marteaua](https://discourse.julialang.org/u/marteaua)\
**Replies:** 0\
**Last updated:** [August 20, 2023, 9:18am UTC](https://discourse.julialang.org/t/help-on-changing-the-color-of-a-poly-edge-in-makie/102999 "2023-08-20T09:18:29Z")

</div>

Hi, I plotted a small 3D mesh using poly in Makie, I use a LScene because I want to put several 3D axis and do camera rotations. I try to change the color of one of the edge of the mesh. My idea is to plot the edge abov…

---

## [Makie - 3d plot with positive Z axis pointing down?](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544)

<div class="topic-metadata">

**Author:** [@Undermine28](https://discourse.julialang.org/u/Undermine28)\
**Replies:** 6\
**Last updated:** [August 8, 2023, 6:08pm UTC](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544 "2023-08-08T18:08:37Z")

</div>

I am trying to visualize an aircraft trajectory. We define the local z vector as down. I see how to do this in the 2d axis but no options to invert the Z axis in Axis3. Basically, I am hoping to have the Z-axis positiv…

---

## [Calculating the 3d volume between arbitrary planes](https://discourse.julialang.org/t/calculating-the-3d-volume-between-arbitrary-planes/101793)

<div class="topic-metadata">

**Author:** [@Gavin\_Held](https://discourse.julialang.org/u/Gavin_Held)\
**Replies:** 8\
**Last updated:** [July 19, 2023, 8:39pm UTC](https://discourse.julialang.org/t/calculating-the-3d-volume-between-arbitrary-planes/101793 "2023-07-19T20:39:10Z")

</div>

Hello, So I am trying to find an efficient way to calculate the volume between planes (e.g. the ones in the image). The planes are not parallel with one another, and I have not found any resources online that have be…

---

## [How can I combine different density plots in a 3D plot?](https://discourse.julialang.org/t/how-can-i-combine-different-density-plots-in-a-3d-plot/96194)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 8\
**Last updated:** [March 20, 2023, 10:36pm UTC](https://discourse.julialang.org/t/how-can-i-combine-different-density-plots-in-a-3d-plot/96194 "2023-03-20T22:36:15Z")

</div>

Hi all! I’m analyzing some data that follows a more-or-less-linear dependency. Here’s a picture: I’d like to show the dispersion around the mean for each of the vertical bins you see. What I need is (I think) the den…

---

## [PlotlyJS doesn't implement orthographic projection option](https://discourse.julialang.org/t/plotlyjs-doesnt-implement-orthographic-projection-option/96203)

<div class="topic-metadata">

**Author:** [@bhalpin](https://discourse.julialang.org/u/bhalpin)\
**Replies:** 6\
**Last updated:** [March 19, 2023, 2:20pm UTC](https://discourse.julialang.org/t/plotlyjs-doesnt-implement-orthographic-projection-option/96203 "2023-03-19T14:20:03Z")

</div>

PlotlyJS has an option for orthographic projection rather than the default “perspective” projection. It is described in the docs here: https://docs.juliaplots.org/stable/gallery/plotlyjs/generated/plotlyjs-ref060/ The …

---

## [Light position for 3D surface plots with bands](https://discourse.julialang.org/t/light-position-for-3d-surface-plots-with-bands/95823)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 4:57am UTC](https://discourse.julialang.org/t/light-position-for-3d-surface-plots-with-bands/95823 "2023-03-10T04:57:10Z")

</div>

I tried following the example in this tutorial to create a 3D surface plot with a ‘side band’: using GLMakie; GLMakie.activate!() # v.0.8.2 cmap = Reverse(:Spectral\_4) lightpos1 = Vec3f(4, -5, 5) set\_theme!() update…

---

## [Move light source and material in MakieGL](https://discourse.julialang.org/t/move-light-source-and-material-in-makiegl/89044)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 6:42am UTC](https://discourse.julialang.org/t/move-light-source-and-material-in-makiegl/89044 "2022-10-21T06:42:13Z")

</div>

Hey I’m trying to move the light source in MakieGL for a 3D plot. I can’t find it for the current version. Note that here LScene they do it, but that code doesn’t work anymore in the current version. I have not being a…

---

## [How to use 3d annotations](https://discourse.julialang.org/t/how-to-use-3d-annotations/86551)

<div class="topic-metadata">

**Author:** [@Starpower\_Power](https://discourse.julialang.org/u/Starpower_Power)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 2:28pm UTC](https://discourse.julialang.org/t/how-to-use-3d-annotations/86551 "2022-08-30T14:28:33Z")

</div>

as of now we can only use 2d annotations, how to use 3d annotations. thanks

---

## [How to take the 3D fft of a vector?](https://discourse.julialang.org/t/how-to-take-the-3d-fft-of-a-vector/85669)

<div class="topic-metadata">

**Author:** [@Nic\_Leblanc](https://discourse.julialang.org/u/Nic_Leblanc)\
**Replies:** 8\
**Last updated:** [August 12, 2022, 6:22pm UTC](https://discourse.julialang.org/t/how-to-take-the-3d-fft-of-a-vector/85669 "2022-08-12T18:22:44Z")

</div>

Hi all, I was wondering if there were a way to take the 3D fft of a vector. I am obviously using FFTW for my direct fft calculations using plans but I’m not sure for it to calculate the 3D fft and not just a 1D fft. The…

---

## [3d animation plot of 2 ode solutions](https://discourse.julialang.org/t/3d-animation-plot-of-2-ode-solutions/83408)

<div class="topic-metadata">

**Author:** [@jpro](https://discourse.julialang.org/u/jpro)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 9:40pm UTC](https://discourse.julialang.org/t/3d-animation-plot-of-2-ode-solutions/83408 "2022-06-27T21:40:07Z")

</div>

Hi, I’m very new to Julia and the plots package. I’d like to plot 2 ode solutions within the same gif. For example, say I’m solving the lorenz function and want to plot two solutions with different parameters in the same…

---

## [Examples of MVC or other UI pattern for Makie](https://discourse.julialang.org/t/examples-of-mvc-or-other-ui-pattern-for-makie/53489)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 7:02pm UTC](https://discourse.julialang.org/t/examples-of-mvc-or-other-ui-pattern-for-makie/53489 "2022-05-20T19:02:03Z")

</div>

I’m trying to put together a simple GUI using Makie and the latest layout awesomeness and realizing that most of the challenge is figuring out how best to implement something like MVC (Model-View-Controller) or whatever …

---

## [Most solid/easiest way to plot Earth on 3D with specific points on it using Pluto?](https://discourse.julialang.org/t/most-solid-easiest-way-to-plot-earth-on-3d-with-specific-points-on-it-using-pluto/76942)

<div class="topic-metadata">

**Author:** [@eduardosalaz](https://discourse.julialang.org/u/eduardosalaz)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 4:39am UTC](https://discourse.julialang.org/t/most-solid-easiest-way-to-plot-earth-on-3d-with-specific-points-on-it-using-pluto/76942 "2022-04-26T04:39:56Z")

</div>

Hi there. I am currently working on a project to visualize a worldwide TSP in which the nodes have specific coordinates on Earth. For a quick viz, I have successfully used GMT.jl (which is quite a great package) to plot…

---

## [\[Makie.jl\] Changing axes font sizes on 3D plots like surface](https://discourse.julialang.org/t/makie-jl-changing-axes-font-sizes-on-3d-plots-like-surface/76495)

<div class="topic-metadata">

**Author:** [@KirillGerke](https://discourse.julialang.org/u/KirillGerke)\
**Replies:** 2\
**Last updated:** [February 19, 2022, 3:06pm UTC](https://discourse.julialang.org/t/makie-jl-changing-axes-font-sizes-on-3d-plots-like-surface/76495 "2022-02-19T15:06:12Z")

</div>

Dear All, While Makie.jl’s documentation and some threads here suggest using functions like the following: fontsize\_theme = Theme(fontsize = 30) set\_theme!(fontsize\_theme) update\_theme!(fontsize = 36) they work just f…

---

## [Why does the arrow option in plot() not work when plotting with 3 axes?](https://discourse.julialang.org/t/why-does-the-arrow-option-in-plot-not-work-when-plotting-with-3-axes/76479)

<div class="topic-metadata">

**Author:** [@chrisoffner](https://discourse.julialang.org/u/chrisoffner)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 10:01am UTC](https://discourse.julialang.org/t/why-does-the-arrow-option-in-plot-not-work-when-plotting-with-3-axes/76479 "2022-02-15T10:01:03Z")

</div>

For some reason, the arrow=true argument doesn’t seem to have any effect once I give plot a three-dimensional line. Is this a bug, or intended behaviour? Is there a way to get arrow heads in 3D, without having to resort …

---

## [3D object rotation in Makie doesn't seem to work well on wide aspect ratio monitors](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 2\
**Last updated:** [January 14, 2022, 7:58pm UTC](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582 "2022-01-14T19:58:16Z")

</div>

On my 21:9 aspect ratio monitor the rotation increment angle is so large that the teeniest movement of the mouse makes the object rotate by such a large angle that it is impossible to orient objects the way you want them…

---

## [Statically rotate 3D scene in Makie.jl](https://discourse.julialang.org/t/statically-rotate-3d-scene-in-makie-jl/74356)

<div class="topic-metadata">

**Author:** [@mattwigway](https://discourse.julialang.org/u/mattwigway)\
**Replies:** 3\
**Last updated:** [January 11, 2022, 2:17pm UTC](https://discourse.julialang.org/t/statically-rotate-3d-scene-in-makie-jl/74356 "2022-01-11T14:17:05Z")

</div>

I am plotting a bivariate normal distribution in Makie. After generating the values, I plot it with this code (full MWE below): fig = Figure() ax1 = Axis3(fig\[1,1\], xlabel="Selection error term", ylabel="Outcome error t…

[Next page](https://discourse.julialang.org/tag/3d/495.md?match_all_tags=true&page=1&tags%5B%5D=3d)
