I had a similar question earlier and posted this thread:

https://groups.google.com/forum/#!searchin/pyqtgraph/preston$20hinkle%7Csort:relevance/pyqtgraph/V2FCUDrGJ9U/RCpXSZ5tEAAJ

I haven't implemented it yet, but it may work for you.

On Wednesday, December 28, 2016 at 12:56:31 AM UTC-8, Edmon Silva wrote:
>
> For a network visualization algorithm, I need to draw thousands of lines 
> in 3D space, each in *different color and width*. Currently I'm 
> using gl.GLLinePlotItem create these lines and add them within a for-loop. 
> As expected, it's extremely slow. Any suggestions to improve the 
> performances?
> (I checked another topic 
> <https://groups.google.com/forum/#!msg/pyqtgraph/x5ROUR6MEMY/HE-fLvF2oNAJ;context-place=forum/pyqtgraph>on
>  
> the similar problem, but unable to adapt that solution to my problem.)
>
> Also, I need to draw curved lines in 3D space? Do I have to use small 
> segments of straight lines that are created using gl.GLLinePlotItem? Is 
> there any other technique?
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/2f027108-b691-4ab6-bbbd-b0860696eb4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to