0

When I enter

Plot[Sin[x], {x, 0, 2 Pi}]

Mathematica returns, as expected, the expected Sinus wave of one period.

Plot has many, many options, when I enter:

Plot[Sin[x], {x, 0, 2 Pi}, Axes ->]

the Mathematica Notebook Interface immediately shows a dropdown list with options like

False
True
{True, False}
etc.

This is obviously expected behaviour, and the behaviour I want to copy in my own functions.

I have been looking into the documentation about

Options
OptionsPattern
OptionValue

I have read through answers here, and in Wolfram Community, but I am not sure if I am on the right track.

How do I create the behaviour of Mathematica showing a dropdown list after entering an option and the -> ( rule arrow ).

NOTE

Suggestions to other questions answering my questions in the comments do not answer my question. The answers are written for people already familiar with Options, etc.

nilo de roock
  • 9,657
  • 3
  • 35
  • 77

0 Answers0