Fiji macro to create user interface @double

Dear Friends,

During writing a macro for user interfaces (Reference: https://www.youtube.com/watch?v=JncZoA-Afk4) how can I vary with some decimal interval by using @double? for example: @double(value=0.05,min=0.02,max=2,style=“slider”) size Here I want the interval 0.1. I tried also with @float. It’s not working.

Thank you very much.

Hi @nir9,

In the ImageJ wiki for script parameters, there is a mention of specifying the interval as “stepSize”:

#@ Float   (label="Slider with float", style="slider", min=0, max=1, stepSize=0.1) myfloat

Hope this helps

3 Likes

Dear @CellKai,
Thank you very much for the help. Yes, it’s working. :slight_smile:

Thanks.
kind regards,
Nirnay

1 Like