plot command slow when setting color?

Advanced game related topics
jerico2day
User
User
Posts: 37
Joined: Mon Jul 13, 2009 5:41 pm

plot command slow when setting color?

Post by jerico2day »

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?
User avatar
STARGÅTE
Addict
Addict
Posts: 2260
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: plot command slow when setting color?

Post by STARGÅTE »

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 moreTypeface - Sprite-based font include/module
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: plot command slow when setting color?

Post by netmaestro »

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
Post Reply