Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6828985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:26:51+00:00 2026-05-26T22:26:51+00:00

Please consider : colors = {Red, Green, Blue}; style = {Thickness[.01], Thickness[.01], Thickness[.01]}; cAxes

  • 0

Please consider :

colors = {Red, Green, Blue};
style = {Thickness[.01], Thickness[.01], Thickness[.01]};
cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0, 
 0}, {1, 0, 0}}};

Graphics3D[{{#1, #2, Line@#3} & @@@ Transpose@{colors, style, cAxes}, 
Blue, Specularity[White, 3], Sphere[{.5, .5, .5}, .1]}, 
Boxed -> False, FaceGrids -> All, 
FaceGridsStyle -> Directive[Black, Dashed]]

Using Yoda`s solution on How to Style Lines

How could I color the Sphere using GrayLevel (I will manipulate it later).

And How could I have denser FaceGrids ? 10 Lines horizontally & Vertically. I also don`t understand why the Edges one are distant to one another.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:26:52+00:00Added an answer on May 26, 2026 at 10:26 pm

    It’s always good practice to group the graphics object and its styles in a list, in case you need to quickly add another one with different styles. By that, I mean write it as {Blue, Specularity[White, 3], Sphere[{.5, .5, .5}, .1]}. Now you can easily add a GrayLevel term before Sphere and it’ll work.

    For the FaceGrids, I believe you’ll have to manually define the lines at your desired spacing for each face. Here’s an example for showing how to do it for one face.

    Graphics3D[{{#1, #2, Line@#3} & @@@ 
       Transpose@{colors, style, cAxes}, {Blue, GrayLevel[0.3], Lighting -> "Neutral",
       Specularity[White, 3], Sphere[{.5, .5, .5}, .1]}}, Boxed -> False, 
     FaceGrids -> {{{0, 0, 1}, 
        Transpose@({#, #} & /@ Range[0, 1, 0.1])}}, 
     FaceGridsStyle -> Directive[Black, Dashed]]
    

    enter image description here

    The faces are defined as ±1 for the corresponding plane and the other two are zero. So {0,0,1} in my example corresponds to the z=1 plane.

    The list supplied to FaceGrids can be easily computed for each face, instead of manually entering them, but I’ll leave that to you 🙂

    EDIT:

    Since you want a uniform mesh all around, define where you want the grid lines drawn as

    gridList = Transpose@({#, #} & /@ Range[0, 1, 0.1]);
    

    Then, use the following for FaceGrids:

    FaceGrids -> Join @@ Table[{RotateLeft[j {0, 0, 1}, i], gridList}, 
        {i, {0, 1, 2}}, {j, {-1, 1}}]
    

    Here’s how the result should look like with PlotRangePadding -> None:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this: [Flags] enum Colors { Red=1, Green=2, Blue=4 } Colors myColor=Colors.Red|Colors.Blue; Currently, I'm
please consider these styles: a:link { color: blue } a:visited { color: red }
Please consider the following: <td style=width: 500px;> <div style=width: 400px;>SomeContent</div> </td> For some reason,
Please consider this code: template<typename T> char (&f(T[1]))[1]; template<typename T> char (&f(...))[2]; int main()
Please consider this HTML and CSS snippet: #container { border: 1px solid red; height:
Please consider this example: ( working example ) Style declarations: body {background:#333;font:1em Arial, Helvetica,
Please consider the following URLs: http://www.mydomain.com/a/test.php https://www.mydomain.org/a/b/test.php http://www.mydomain.co.nr/a/b/c/test.php https://www.mydomain.com/a/b/c/d/test.php http://www.mydomain.co.uk/a/b/c/d/e/test.php https://www.mydomain.co.au.nm/a/b/c/d/e/f/test.php?var1=test1&var2=test2 Now I want
Please Consider : Manipulate[Rasterize[Graphics[{ Black, Rectangle[{0, 0}, {6, 10}], Red, Rectangle[{0, 0}, {2, L}],
Please Consider : cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0},
Please consider my question. final values cannot be changed in java. private final List<Integer>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.