# [✓] Problems with line drawing using VertexColors?

GROUPS:
 Henrik Schachner 2 Votes Dear all,trying to draw a simple graphics showing a line of a certain thickness and using VertexColors I am facing problems. Here a distilled example: nn = 10; rp = RandomReal[{-50, 50}, {nn, 2}]; rc = RandomColor[nn]; Graphics[{Thickness[.05], Line[rp, VertexColors -> rc]}] This gives e.g.:What am I doing wrong??? (Actually I encountered this effect using GeoGraphics and GeoPath - my GPS tracks are looking quite ugly now! With MM v10.3 everything was nice ...) \$Version (* Out= "10.4.1 for Linux x86 (64-bit) (April 11, 2016)" *) Many thanks for any hint -- Henrik
1 year ago
5 Replies
 Gianluca Gorni 1 Vote It seems that VertexColors fails to coordinate with CapForm and JoinForm: nn = 10; rp = RandomReal[{-50, 50}, {nn, 2}]; rc = RandomColor[nn]; Graphics[{Thickness[.05], CapForm["Round"], JoinForm["Round"], Line[rp, VertexColors -> rc]}] 
1 year ago
 Sander Huisman 1 Vote I noticed the very same problem, they are working on a new 'graphics system'. I guess we have to wait for the newest version. I fixed it temporarily by drawing Point with the same color at each corner... ugly, I know... but well.... (Mac OSX El capitan)
 Henrik Schachner 2 Votes Dear @Sander Huisman and @Gianluca Gorni , thank you for your response! ... they are working on a new 'graphics system' ... Yes, I had understood that from previous discussions. This was exactly the reason why I had waited for a version XX.X.1, because I thought that by then those really not very hidden problems migth be solved. Needless to say that I furthermore am experiencing a considerable slowdown in 3D functionalities as well. Introducing a prerelease system - as you proposed some time ago - would definitely be a good idea! I do understand that things are complicated (or at least not as easy as customers typically envision), but if functionalities stop working after paying for an upgrade is frustrating.Best regards -- Henrik