plotting curves

Just starting out? Need help? Post your questions and find answers here.
coffee
User
User
Posts: 77
Joined: Fri Oct 06, 2017 10:43 am

plotting curves

Post by coffee »

hi,
does anybody have an interface or code to plot more then one curve from data points?
it must scale and provide for scrolling, view parts of a curve enlarged ...

any help or suggestions welcome.
Thank in advance.
User avatar
mk-soft
Always Here
Always Here
Posts: 5334
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: plotting curves

Post by mk-soft »

My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
coffee
User
User
Posts: 77
Joined: Fri Oct 06, 2017 10:43 am

Re: plotting curves

Post by coffee »

thank you for this suggestion.
but i need something more professional, that displays a coordinate system etc.
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: plotting curves

Post by blueb »

Perhaps this might get you started....
viewtopic.php?p=355193#p355193
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: plotting curves

Post by skywalk »

I know I sound like a broken record, but use the canvasgadget and vector drawing lib.
If you have a custom chart in mind, just code it up in PB.
Open source charting libs are a pain since most exist in Javascript/HTML or use OOP languages and require a C wrapper to use with PB.

Look at these cool vector lib manipulations:
pan and zoom ~torp
pan and zoom ~Little John
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply