| Reference | Downloads | Github

Anchoring Only the Side and Middle Points in a Slider Scale


I have a slider scale with the code rating = visual.RatingScale(win=win, name='rating', marker='triangle', size=1.0, pos=[0.0, -0.4], low=0, high=6, precision=100, showValue=True, scale='', labels = ['Very Unpleasant (1)', 'Very Pleasant (6)'])

With this code, all 6 points are marked with a tick. I still want my scale to be up to 6 but I only want participants to see the middle and side markers instead of all 6. I was wondering if there is a way to adjust the code to do that.

Thank you!

@leorelizur, which version of PsychoPy are you using? Have you looked at using the new Slider? There are demos available for the new slider (called “newRating”) in the latest release of PsychoPy.

I am using v3.0.0b10 since the computer I am working on does not work with the newest version.

@dvbridges actually, I figured this out, thank you for your help!

1 Like