Just playing and tried Raul's line for a single point and J hung in an
error message over and over.
load 'plot'
'color red; type marker;markersize 2' plot <"1|:,:10 10
Message box from wdhandler:
error in: plot_gs_paint
domain error: cd
rc=: glcmds`glcmds_jglc@.(Poutput=iQTC)buf
Had
>> > 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
I don't think ascii labels on dots is currently supported.
http://code.jsoftware.com/wiki/Plot/Keys is as close as I can see to
that, but even that does not seem like it could be relevant if we
can't get single dot series (since I think the key is for a series
rather than for a member of the serie
Raul,
No, the plot locks up the same way on 8.05 in Win 10.
Any clue on how to put ASCII labels on the dots?
Skip Cave
Cave Consulting LLC
On Tue, Oct 31, 2017 at 1:59 AM, Raul Miller wrote:
> That's a good question.
>
>require'plot'
>'color red; type marker;markersize 2' plot <"1|:0
That's a good question.
require'plot'
'color red; type marker;markersize 2' plot <"1|:0 0,:10 10
works just fine.
And, looking at the data:
<"1|:0 0,:10 10
┌┬┐
│0 10│0 10│
└┴┘
... and dropping the first coordinate pair from the resulting coordinate lists:
<"1|:,:10
Here's a simple plot:
load 'plot'
pd 'reset;color red'
pd 'type marker;markersize 2'
pd <"1|:0 0,:10 10
pd 'show'
1. The above code plots two points, one at 0,0 and one at 10,10. How can I
plot just ONE point? The following code shows NO dots at all:
load 'plot'
pd 'reset;color red'
pd 't