Function - Modify Curve Shape between to Breakpoints with Message

Jonas Obermueller's icon

Hey Everyone, is it possible to modifiy the Curve of a linesegment in the Function object via a message.
As you can modifiy the position of single points like this, it would be great to have this functionality too for the patch I'm working on.

Sadly I couldn't find anything in the help-files or forums. Maybe someone has an idea?

Mark Durham's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Not sure about modify, but you can clear and then re-plot:

Maybe that helps?

I think you can get into trouble moving points around as function re-indexes everything, ie if you move point 1 after point 2 (x axis) it then becomes point 2. Whether it matters depends on what you're doing I guess.

Jonas Obermueller's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Thanks Mark, I modified it a bit and now it work perfectly for what I need!