>> > Also in the first example, how can I put a text legend beside the dot at >> > 10,10? I just want a single ASCII number there beside the 10,10 dot.
You can convertĀ plot coordinates to screen coordinates and use textc plot command to place label In the past (J6) I had to do the opposite, convert screen coordinates to plot coordinates upon a click: http://code.jsoftware.com/wiki/User:Andrew_Nikitin/plothacks plot_gs_mbldbl_jwplot_=:3 : 0 xy=.2{.".sysdata if. *./(xy>:2{.Gxywh),(xy<: 2 ({. + }.)Gxywh) do. px=.XMin +(XMax-XMin)*(2{Gxywh)%~({.xy)-(0{Gxywh) py=.YMin +(YMax-YMin)*(3{Gxywh)%~((3{Pxywh)-{:xy)-(1{Gxywh) smoutput 'x,y=',":px,py end. ) Assuming that internal structure of plot in J8 is pretty much the same as J6, you can use XMin, XMax, Gxywh, Pxywh to perform that conversion. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm