Post Reply 
Mixed plot modes
03-15-2021, 09:37 PM
Post: #1
Mixed plot modes
I got an HP prime today, enjoying it so far. However I am still learning how to use it in my workflow, and I'm trying to figure out the "Prime" way to work.

Frequently I want to plot 2 or more datatypes. For example I have a bezier curve (which I can plot in Parametric app) and a rectangle (which I can plot in Geometry app). Everything works great separately, but how can I plot both together or find intersections? If there is a way to mix these objects I am missing it.

I suppose I could try to convert one to the opposite format, either by trying to find a parametric equation for rectangles, or getting the bezier curve into some supported Geometry type (polygon, I guess). I'm not really sure the steps to generate that table and move it to the other app, but maybe that's a plan.

I suppose I could program my own app that could just graph both. May be more of an upfront investment but could be worth it in the long run.

Wanted to check with veterans to see if there are other ways to do this.
Find all posts by this user
Quote this message in a reply
03-16-2021, 07:17 PM
Post: #2
RE: Mixed plot modes
Have you seen the plotparam() command yet? Here's a simple example:

plotparam(4*t^2+5*(-t+1)^2+i*(4*t^2+(-t+1)^2),t = (0 .. 1))

you get:

   

-road
Find all posts by this user
Quote this message in a reply
03-16-2021, 10:39 PM (This post was last modified: 03-16-2021 11:07 PM by StephenG1CMZ.)
Post: #3
RE: Mixed plot modes
Some time ago I wrote a simple program to generate and draw Bezier curves.
You might possibly find it of some use to generate the points of a curve.
https://www.hpmuseum.org/forum/thread-9954.html
Note: This program is callable from HP Prime PPL... I don't know if that is useful from the Geometric or Parametric Plot apps.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
03-17-2021, 03:00 PM (This post was last modified: 03-23-2021 01:50 PM by roadrunner.)
Post: #4
RE: Mixed plot modes
Here's a cool app that demonstrates beizer curves:

Edit:

The original app only worked on my calculator. Here:

https://www.hpmuseum.org/forum/thread-16516.html

is an app that (I think) will work on anyone's calculator.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 




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