I use an HP Prime Graphing Calculator and MathematicswithPocketCASPro is the best alternative, or maybe even an upgrade, for its CAS function. They use the same kernel known as Xcas.
Though HP provides a completely free emulator for computers (25 bucks for iOS), it's frustrating to navigate through formulas in an 'exactly emulated' window with a 320*240 resolution. Besides, I'm happy to find MathematicswithPocketCASPro supports more 3D graphing functionalities than HP Prime. Such as 3D parametric plots, lines, planes... and even animated plots!
I've also tried MathematicswithPocketCASPro from Xcas website, only finding it's not updated and maintained for newer macOS versions for a long time. And to be honest, the original Xcas app is really hard to use.
An added bonus is that MathematicswithPocketCASPro supports the Handoff function. It conveniently pops up on the dock of my Mac, and with just one click, I can seamlessly transition it onto my big screen.
Don't hesitate to get it! Totally worth the 50 bucks for all your Apple devices!