Question

How to make a special slider (or jslider) with areas after minimum and maximum range on Matlab? Please see the illustration: enter image description here Thanks

Was it helpful?

Solution

You need a custom Java control, using a custom paint() method. I suggest that you repost your question as a Java Swing question (tags Java, Swing, JSlider) - this should get you some responses. Then use the control in Matlab as usual.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top