How to change style of axises in 3D Graphics?

havarmaa shared this question 2 years ago
Answered

Hi all

How to change style of axises in 3D Graphics?

I want changing color of axis in 3D graphics.. But I can't find settings 3D graphics

Comments (9)

photo
1

It is not possible to change the colors of the 3D-axes, yet.


Best regards

Mikkel

photo
1

Thank you Mikkel.

But can you please implement it as soon as possible?

I would like x,y,z-axis with black color. Please compare these two images below.

4b8199e610b2d5260d2d2ba146308c55

photo
1

I fully agree, I like to black axis i 3D view too.

photo
1

It's on our todo list to have a proper solution for axis styling. As a workaround for now you can set the Global Javascript (go to properties of any object, then scripting > global javascript) to


function ggbOnInit() {

ggbApplet.evalCommand("SetColor[xAxis,0,0,0]");

ggbApplet.evalCommand("SetColor[yAxis,0,0,0]");

ggbApplet.evalCommand("SetColor[zAxis,0,0,0]");

}


and reload the file.

photo
1

Dear Zbynek


Thanks for solving my problem!


a4834893065536be55201e3a93367f72

photo
1

Hi Havarmaa,


I am currently having a problem with rotating my x axis. And I am doing exactly same thing that you have done here. Please tell me how to draw something like this.


Thanks,

photo
photo
1

Thanx!!!

It works perfectly fine. I have tried to implement Javascript a few times before but never realized I have to reload the file, that was a "dooropener" for me :D

photo
2

89c37afdc22f6bf84449225fb5b0d267

photo
1

bd77f1f1f0eccb51b7879c9322a403ce

© 2018 International GeoGebra Institute