Message Boards Message Boards

0
|
5222 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Graphics out of "Manipulate" function : habitable zone around a star

Posted 4 years ago

Dear sirs,

my skills with Wolfram Language are still quite basic. I have created a very simple calculation of the boundaries of a star's goldilocks zone (rough calculation that doesn't take into account the complexity of greenhouse effects and geothermal energies). I used the function 'Manipulate' , but then (for the sake of learning) I wish to create a graphic visualization of the results, maybe a 3D disk, where the habitable zone is just a coloured ring around a star (the star should be placed at the center of the disk, and its colour should vary, depending on the chosen luminosity. This task is far too difficult for me, at this stage. Anybody would like to help me?

please find the relevant notebook, our task refers to the last calculation, at the bottom of the file.

Thank you in advance Cpt Mauro B. Mistretta

3 Replies

Mauro,

Look at the documentation for Annulus. It has several interactive examples for manipulating an annular graphic like the one you are proposing.

Regards,

Neil

POSTED BY: Neil Singer
Posted 4 years ago

Hi Mauro,

Expanding a little on Neil's answer, try adapting this to your needs

Manipulate[
 Graphics[
  {ColorData["SolarColors"][t], Disk[],
   ColorData["LightTerrain"][.3], Annulus[{0, 0}, {rMin, rMin + delta}]},
  PlotRange -> 40],
 {{t, .5}, 0, 1},
 {rMin, 30, 40}, {delta, 1, 5}]
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