Wolfram mathematica 在Mathematica中使用操纵控制布局

Wolfram mathematica 在Mathematica中使用操纵控制布局,wolfram-mathematica,controls,Wolfram Mathematica,Controls,我想有粉红色和绿色的复选框控件显示在一行。尽管对ControlPlacement帮助进行了广泛的研究,但我无法调整它以使其工作 Manipulate[ Graphics[{If[thePink, {Pink, Disk[{5, 5}, r]}], If[theGreen, {Green, Disk[{4, 2}, r]}]}, PlotRange -> {{0, 20}, {0, 10}}], {{r, 1, Style["Radius", Black, Bold, 12]}, 1,

我想有粉红色和绿色的复选框控件显示在一行。尽管对ControlPlacement帮助进行了广泛的研究,但我无法调整它以使其工作

Manipulate[
Graphics[{If[thePink, {Pink, Disk[{5, 5}, r]}], 
If[theGreen, {Green, Disk[{4, 2}, r]}]}, 
PlotRange -> {{0, 20}, {0, 10}}], {{r, 1, 
Style["Radius", Black, Bold, 12]}, 1, 5, 1, ControlType -> Setter, 
ControlPlacement -> Top}, {{thePink, True, 
Style["Pink", Black, Bold, 12]}, {True, False}}, {{theGreen, False,
Style["Green", Black, Bold, 12]}, {True, False}}]

使用
行[]
控件[]

Manipulate[Graphics[{If[thePink, {Pink, Disk[{5, 5}, r]}],
   If[theGreen, {Green, Disk[{4, 2}, r]}]}, PlotRange -> {{0, 20}, {0, 10}}], 
   {{r, 1, Style["Radius", Black, Bold, 12]}, 1, 5, 1, ControlType -> Setter, 
                                                     ControlPlacement -> Top},
 Row[
  {Control@{{thePink, True, Style["Pink", Black, Bold, 12]}, {True, False}}, 
   Spacer[20], 
   Control@{{theGreen, False, Style["Green", Black, Bold, 12]}, {True,False}}}]]

一如既往,谢谢。我希望我能很快提出更难的问题,你们真是太好了!