Post Reply 
plot of piecewise function
06-30-2014, 12:09 PM
Post: #1
plot of piecewise function
How can I plot a piecewise function?

The prime can give spline interpolation for given data points. Of course I would like to plot the resulting spline. Something like PlotPiecewise( {piecewise funcs}, {Xs}).
I did not get a plotting app to do so.

thanks
Find all posts by this user
Quote this message in a reply
06-30-2014, 02:49 PM (This post was last modified: 06-30-2014 02:51 PM by Tim Wessman.)
Post: #2
RE: plot of piecewise function
Perhaps the PIECEWISE function would be of help...

Go into the function app. Press the template key (the ALPHA C key). Select the piecewise function. Enter input. Plot.

You are limited to 16 inputs (8 statements and 8 conditions). Last argument, as shown by the template, is optional.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
07-01-2014, 06:49 AM
Post: #3
RE: plot of piecewise function
Thank you. I would have preferred a way that lets me 'reuse' the x-values I just entered and used for the spline calculation in combination with the spline vector result.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)