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 5975947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:09:29+00:00 2026-05-22T21:09:29+00:00

According to http://reference.wolfram.com/mathematica/ref/AxesLabel.html it says By default, axes labels in two-dimensional graphics are placed

  • 0

According to

http://reference.wolfram.com/mathematica/ref/AxesLabel.html

it says

“By default, axes labels in two-dimensional graphics are placed at the ends of the axes. In three-dimensional graphics, they are aligned with the middles of the axes.”

I wanted to put the axes labels at the end of the axes also for my 3D plots, since that makes it easy for me to see which axes is now where when I do rotations and such on the 3D objects.

I was not able to find a trick to do it. Here is an example

g=Graphics3D[
{
  Cuboid[{-.1,-.1,-.1},{.1,.1,.1}],
         {Red,PointSize[.03],Point[{3,0,0}]},
         {Black,PointSize[.03],Point[{0,3,0}]},
         {Blue,PointSize[.03],Point[{0,0,3}]}
         },
         AxesOrigin->{0,0,0},
         PlotRange->{{-3,3},{-3,3},{-3,3}},
         Axes->True,
         AxesLabel->{"X","Y","Z"},
         LabelStyle->Directive[Bold,Red,16],
         PreserveImageOptions->False,
         Ticks->None,
         Boxed->False
  ]

Also, it says that the axes labels for 3D are supposed to be in the ‘middle’ of the axes.

But looking at the resulting Graphics3D, it does not look to me the labels are in the middle at all. Might be a scaling thing, not sure now, but it looks like the labels are too close to the origin.

thanks,

  • 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-22T21:09:30+00:00Added an answer on May 22, 2026 at 9:09 pm

    You could draw the labels manually, at the location of your choosing:

    Graphics3D[
      { Cuboid[{-.1,-.1,-.1},{.1,.1,.1}]
      , Text[Style["X", Bold, Red, 16], {3, 0, 0}]
      , Text[Style["Y", Bold, Black, 16], {0, 3, 0}]
      , Text[Style["Z", Bold, Blue, 16], {0, 0, 3}]
      }
    , AxesOrigin -> {0, 0, 0}
    , PlotRange -> {{-3, 3}, {-3, 3}, {-3, 3}}
    , Axes -> True
    , PreserveImageOptions -> False
    , Ticks -> None
    , Boxed -> False
    ]
    


    axis labels

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

Sidebar

Related Questions

According to this http://www.cplusplus.com/reference/clibrary/csignal/signal.html SIGINT is generally used/cause by the user. How do i
according to the reference (http://dev.mysql.com/doc/refman/5.5/en/create-table.html), MySQL 5.5 now supports table and column comments of
According to: http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html 4.5.2 Variables of Reference Type A reference type can hold a
According to D docs ( http://www.digitalmars.com/d/2.0/attribute.html#ProtectionAttribute ) protected module members are illegal, but compiler
according to this site http://www.cplusplus.com/reference/std/functional/unary_function/ this code should work #include <iostream> #include <functional> using
So according to the link here: http://www.cplusplus.com/reference/algorithm/max_element/ , the max_element function is O(n), apparently
The Activity Lifecycle is giving me headaches. The documentation at http://developer.android.com/reference/android/app/Activity.html is so darn
According to http://www.cplusplus.com/reference/clibrary/ctime/time_t/ time_t is the number of seconds since midnight 1/1/1970 UTC. So
According to this documentation http://www.cplusplus.com/reference/clibrary/ctime/time/ for time(NULL) If the function could not retrieve the
According to Java Generics FAQ http://www.angelikalanger.com/GenericsFAQ/FAQSections/TypeParameters.html#FAQ302 a type parameter cannot be forward-referenced in this

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.