Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

labeling 3d plots

I want to add text to my 3d plots. The first 'show' below prints the equation correctly in a 2d plot. The second 'show' does not print the equation correctly in a 3d plot.

Is there a fix to make it work for the 3d plot?

Thanks, George Craig

t = text("${M}_x = {0}_x$", (1,1)) show(t)

t = text3d("${M}_x = {0}_x$", (1,1,1)) show(t)

labeling 3d plots

I want to add text to my 3d plots. The first 'show' below prints the equation correctly in a 2d plot. The second 'show' does not print the equation correctly in a 3d plot.

Is there a fix to make it work for the 3d plot?

Thanks, George Craig

t = text("${M}_x = {0}_x$", (1,1))
show(t) 

t = text3d("${M}_x = {0}_x$", (1,1,1)) show(t)

show(t)