From: Edwin W. <woo...@ch...> - 2017-12-13 18:20:20
|
One of the reasons I like to use plot2d for quick plots is the ability to use the [points,nsize,ncolor,ntype] syntax. In ver. 5.31 there were 13 points types available using this syntax. Using windows 7 , both ver. 5.40.0 and 5.41.0 only return 6 point types using both xmaxima and wxmaxima you can either use plot2d([ [discrete,[[0,.5]]],[discrete,[[0.1,.5]]],[discrete,[[0.2,.5]]],[discrete,[[0.3,.5]]], [discrete,[[0.4,.5]]],[discrete,[[0.5,.5]]], [discrete,[[0.6,.5]]],[discrete,[[0.7,.5]]], [discrete,[[0,0]]],[discrete,[[0.1,0]]], [discrete,[[0.2,0]]],[discrete,[[0.3,0]]], [discrete,[[0.4,0]]],[discrete,[[0.5,0]]], [discrete,[[0.6,0]]],[discrete,[[0.7,0]]] ], [style, [points,5,1,1], [points,5,1,2], [points,5,1,3], [points,5,1,4], [points,5,1,5], [points,5,1,6], [points,5,1,7], [points,5,1,8], [points,5,1,9], [points,5,1,10], [points,5,1,11], [points,5,1,12], [points,5,1,13], [points,5,1,14], [points,5,1,15], [points,5,1,16] ], [xlabel,""],[ylabel,""], ['x,-0.2,1],['y,-0.2,0.7], [box,false],[axes,false], [legend,"1 ","2 ","3 ","4 ","5 ","6 ","7 ","8 ","9 ","10 ","11 ","12 ","13 ","14 ","15 ","16 "])$ or plot2d([ [discrete,[[0,.5]]],[discrete,[[0.1,.5]]],[discrete,[[0.2,.5]]],[discrete,[[0.3,.5]]], [discrete,[[0.4,.5]]],[discrete,[[0.5,.5]]], [discrete,[[0.6,.5]]],[discrete,[[0.7,.5]]], [discrete,[[0,0]]],[discrete,[[0.1,0]]], [discrete,[[0.2,0]]],[discrete,[[0.3,0]]], [discrete,[[0.4,0]]],[discrete,[[0.5,0]]],[discrete,[[0.6,0]]],[discrete,[[0.7,0]]] ], [style,[points,5,1]],[xlabel,""],[ylabel,""], ['x,-0.2,1],['y,-0.2,0.7], [box,false],[axes,false], [legend,"1 ","2 ","3 ","4 ","5 ","6 ","7 ","8 ","9 ","10 ","11 ","12 ","13 ","14 ","15 ","16 "])$ to check this. using numbers is much faster than typing names in the alternate system. ted woollett |