Hi, It is because we use a different technique in Windows to draw lines when LineWidth=1, a cosmetic pen. Don't rely on the sizes and the alignment of the custom line styles. Although they are usually equivalent to pixels they may depend on the driver.
Best, Scuri Em qui., 23 de jan. de 2020 às 17:31, Milind Gupta <milind.gu...@gmail.com> escreveu: > A little more information. If I add LineWidth = 2 after setting the line > style then only it works properly. Why does LineWidth=1 not work? > > On Wed, Jan 22, 2020 at 6:09 PM Milind Gupta <milind.gu...@gmail.com> > wrote: > >> Hi, >> I created a custom linestyle of 1 dot and 9 spaces. When I plot this >> line I see multiple dots and a much longer space. The attached script plots >> it as a horizontal line and creates some vertical markers below which the >> dots were expected. The dots however are not aligned to those vertical >> markers. Am I specifying the style array incorrectly? >> >> Thanks, >> Milind >> > _______________________________________________ > Canvasdraw-users mailing list > canvasdraw-us...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/canvasdraw-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users