Hi Michal When I was checking before my earlier post I didn't remember there was a lab. So I made up my own example.
load'viewmat' (],viewmat) |.j.~/~i:10 NB. lab example (],viewmat) j./~i:10 NB. my experiment Is the second one more closer to what you expected? Esa On Fri, Mar 3, 2023 at 4:23 AM Michal Wallace <[email protected]> wrote: > Okay, I'm wrong. Sorry. :D > > Yes, the lab gives pretty much my exact example, but they write it like > this: > > viewmat |.j.~/~i:10 > > > My expectations were off because the default table piped through viewmat > doesn't put the numbers in the same positions they would actually occupy on > the plane. > > > > On Thu, Mar 2, 2023 at 9:33 AM Jan-Pieter Jacobs < > [email protected]> > wrote: > > > I think Esa is right. > > It's explained with some examples in the viewmat lab, pages 8/20-12/20. > > > > It does not seem to work on Android though, just returning a blank window > > (while viewmat on real inputs works perfectly). > > > > On the J Playground, it ddes not work either: it just shows the > magnitude, > > but not the arrows. Jios 903.1 gives the same result (i.e. colours, but > not > > arrows). > > > > Jan-Pieter > > > > On Thu, 2 Mar 2023, 14:02 esal, <[email protected]> wrote: > > > > > I think it represents the angle (phase, argument) of the complex number > > > while the color is mapped to the magnitude (absolute value, length). > > > > > > Esa > > > > > > On Wed, Mar 1, 2023 at 7:21 PM Michal Wallace < > [email protected]> > > > wrote: > > > > > > > What is the word for what the arrows mean in viewmat when you are > > looking > > > > at complex numbers? > > > > > > > > I think that multiplying a number by the arrow's corresponding point > is > > > > going to do some kind of shearing (?) in that direction, but can > > someone > > > > help me put this concept into words? > > > > > > > > Thanks! > > > > -Michal > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
