plot command slow when setting color?
-
jerico2day
- User

- Posts: 37
- Joined: Mon Jul 13, 2009 5:41 pm
plot command slow when setting color?
Why is the plot() command slow when setting a color? I replaced it with LineXY and setting color and there was no discernible speed loss, however, when using plot, my program runs at about half-speed. Any ideas?
Re: plot command slow when setting color?
Code?
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: plot command slow when setting color?
Also, what version of Purebasic are you using? For versions prior to 4.40 Plot() was slow but when the 2DDrawing lib was overhauled that changed dramatically.
BERESHEIT
