Fiji macro to create user interface @double

Dear Friends,

During writing a macro for user interfaces (Reference: 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


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

kind regards,

1 Like