Message Boards Message Boards

0
|
3567 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

How to format box label and scale for a 3d plot?

Posted 4 years ago

I want to do formatting for a 3d plot such that

1) the text (box label) is to be made bold, 2) the box scales for the 3d plot is also to be made more bold

Kindly suggest me the syntax.

POSTED BY: Rahul Chakrabory
Posted 4 years ago

Hi Rahul,

Using Epilog for the axis labels is not a good idea. The labels do not follow the axes as the plot is rotated. Use AxesLabel instead.

AxesLabel -> (Style[#, 14, Black, Bold] & /@ {"\[Xi]", "K", "\!\(\*SubscriptBox[\(\[CapitalOmega]\), \(r\)]\)"})

To make the plot legend bold

PlotLegends -> {Style["Real frequency", Bold]}

To change the tick style

TicksStyle -> Directive[Bold, Black]

Result

Plot3D[Re[x], {xi, 0.1, 1}, {k, 0.1, 1}, 
 BoundaryStyle -> Directive[Blue, Thickness[0.007]],
 PlotLegends -> {Style["Real frequency", Bold]},
 AxesLabel -> (Style[#, Black, 14, Bold] & /@ {"\[Xi]", "K", 
     "\!\(\*SubscriptBox[\(\[CapitalOmega]\), \(r\)]\)"}),
 Mesh -> {{0}},
 BoxRatios -> {1, 1, 0.4},
 BoxStyle -> Directive[Black, Thickness@0.006],
 TicksStyle -> Directive[Bold, Black]]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract