Question: Maplet slider - tickmarks.

Hello,

I am using Maple 14 with Windows Vista OS and I would like to ask 2 questions:

 

1) Is there any possibility to change the width of a slider? I have 2 very similar source codes of the slider (one horizontal, one vertical). I would like to use the vertical one, but the biggest value does not appear correctly. This value should be "1000", but only "100" appears. In the horizontal case everything is OK.

Here are the source codes you can try:

vertical slider:

> with(Maplets[Elements]);
> maplet1 := Maplet([Slider['SN0'](orientation = vertical, 0 .. 1000, 'majorticks' = 200, 'minorticks' = 50,   'snapticks' = 'false', filled = true, showticks = true)]):
> Maplets[Display](maplet1);

horizontal slider:

> with(Maplets[Elements]);
> maplet1 := Maplet([Slider['SN0'](0 .. 1000, 'majorticks' = 200, 'minorticks' = 50, 'snapticks' = 'false', filled = true, showticks = true)]);
> Maplets[Display](maplet1);

 

2) Is there a possibility to use "smaller" tickmarks? I would like to have a variable which values range from 0 to 1 and I would like to use tickmarks for example after each 0.1. Minorticks or majorticks optins allow only integer values.

 

Thank you in advance,

 

  Jarek

This has been branched into the following page(s):
Please Wait...