가 고려하십시오 :는 조작 : 간격과 배경
Manipulate[Rasterize[Graphics[{
Black, Rectangle[{0, 0}, {6, 10}],
Red, Rectangle[{0, 0}, {2, L}],
Green, Rectangle[{2, 0}, {4, M}],
Blue, Rectangle[{4, 0}, {6, S}]},
ImageSize -> {200, 270},
ImageSize -> 50]],
[email protected]{{L, 1, Style["L", Red, Bold, 24]}, Range[10],
ControlType -> Slider, ControlPlacement -> Top,
DefaultBaseStyle -> {Bold, 16, FontFamily -> "Helvetica"},
Appearance -> "Labeled", ImageSize -> 200},
[email protected]{{M, 1, Style["M", Green, Bold, 24]}, Range[10],
ControlType -> Slider, ControlPlacement -> Top,
DefaultBaseStyle -> {Bold, 16, FontFamily -> "Helvetica"},
Appearance -> "Labeled", ImageSize -> 200},
[email protected]{{S, 1, Style["S", Blue, Bold, 24]}, Range[10],
ControlType -> Slider, ControlPlacement -> Top,
DefaultBaseStyle -> {Bold, 16, FontFamily -> "Helvetica"},
Appearance -> "Labeled", ImageSize -> 200}]
가 나는 배경 색상을 변경할 수 있습니다 : 검은 색 대신 흰색의 예를 들어.
왜 오른쪽에 너무 많은 빈 공간이 있습니다. 나는 슬라이더 크기를 Manipulate의 너비와 일치시킬 수 없었습니다.
음 ... 회색 부분은 조절할 수 있지만 흰색은 조절할 수 없습니다. – abcd
@Yoda, 나는 관심이있다! 어떻게? 그리고 오른쪽에있는 피상적 인 공간을 위해 무엇이든 할 수 있습니까? – 500