Dear Alfonso - it's unclear what you are trying to do.

I made a suggestion based on the guess that "a" and "b" represent (x,y)
point pairs.  This gives me what looks like some points on a circle when
plotted as type "point".  If I plot them another way, say

   plot >a,b

I get what looks like a sine and cosine wave.  However, in either case, it's
hard to understand how you intend to plot two identical variables without
overwriting one by the other or what you intend to accomplish.

Also, I'm only interested in the current implementation of J and don't care
that an older version may have behaved differently; I imagine most people
feel the same way.

If you want help, you'll have better luck if you make it easy for people to
help you by being clear what you're trying to do - why you want to plot
identical numbers and what you expect as a result.

Good luck,

Devon

On Sun, Dec 28, 2008 at 12:09 PM, Alfonso Salazar <[email protected]>wrote:

> Dear Devon:
>
> In J504b I can do it in the next form:
>
> plot/ a,:b
>
> Why I can't do with J602a?
>
> Please prove with J504b
>
> Thanks
>
> Alfonso
>
> Assuming you mean "a" is one set of points (pairs of (x,y) coordinates) and
> "b" is another:
>
>    'type point;pensize 5' plot (j./>a),:j./>b
>
> This plots "b" directly on top of "a" since they are exactly the same.  You
> could offset "b" by a small, fixed amount like this:
>
>   'type point;pensize 5' plot (j./>a),:0.5j0.5+j./>b
>
> to separate them.
>
>
> On Sat, Dec 27, 2008 at 4:10 PM, Alfonso Salazar <[email protected]
> >wrote:
>
> > friends:
> > How can I plot in the same graph a y b
> >
> >
> a=.+-----------------------------------------------------------------+-----------------------------------------------------------------+
> > |19.16 18.38 16.34 13.81 11.77 10.98 11.77 13.81 16.34 18.38 19.16|13.14
> > 15..55 17.03 17.03 15.55 13.14 10.74 9.254 9.254 10.74 13.14|
> >
> >
> +-----------------------------------------------------------------+-----------------------------------------------------------------+
> >
> >
> >
> b=.+-----------------------------------------------------------------+-----------------------------------------------------------------+
> > |19.16 18.38 16.34 13.81 11.77 10.98 11.77 13.81 16.34 18.38 19.16|13.14
> > 15..55 17.03 17.03 15.55 13.14 10.74 9.254 9.254 10.74 13.14|
> >
> >
> +-----------------------------------------------------------------+-----------------------------------------------------------------+
> >
> > Thanks for your help
> >
>
>
>
>      ¡Todo sobre Amor y Sexo!
> La guía completa para tu vida en Mujer de Hoy.
> http://mx.mujer.yahoo.com/
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to