Hello,
Is there any way to 'reset a jqt session' other then closing and
starting over jqt?
Thanks
Ruda
--
For information about J forums see http://www.jsoftware.com/forums.htm
Hello,
I'd like to plot two graphs with plot in two different windows.
I expected this to do the work:
load 'plot numeric'
pd 'reset'
pd steps _1 1 10
pd 'new'
pd steps 4 12 10
pd 'show'
However, it just shows the second plot...
Can anybody help?
Thanks
Ruda
Hello,
You can use plot object:
load 'plot numeric'
p1=.''conew'jwplot'
pd__p1 steps _1 1 10
pd__p1'title plot 1;show'
p2=.''conew'jwplot'
pd__p2 steps 4 12 10
pd__p2'title plot 2;show'
NB. cleanup later
destroy__p1 ''
destroy__p2 ''
BTW, multiplot is also cool.
Esa
-Original Message-
This is a good question.
Based on http://code.jsoftware.com/wiki/Plot/Commands
http://code.jsoftware.com/wiki/Guides/Window_Driver/Window_Controls
and http://code.jsoftware.com/wiki/Guides/Window_Driver/Command_Reference
I would expect that I could create a window, perhaps like this:
a_close=: 3
plot will reuse jwplot window, this
is intended, but I am not sure if this is
different from j602 behavior,
load'plot'
plot i.10
plot 1 o. i.10 NB. reuse jwplot window
wd'qpx' NB. show form locale
Пт, 14 июл 2017, Raul Miller написал(а):
> This is a good question.
>
> Based on http://c
Esa has already shown an example of how to create independent plots.
The following wiki page also shows an example of displaying multiple
independent plot windows as well as multiple plots on a form.
http://code.jsoftware.com/wiki/Plot/Class
On Fri, Jul 14, 2017 at 9:41 PM, bill lam wrote:
> plo
I suppose this depends on what "reset" means exactly.
You can run the following command to get rid of existing name definitions
in the base locale
clear ''
But it is certainly not the same as a new J session.
It might be useful to explain why you might want to "reset a jqt session".
Regards,
Ric
O
Do you mean: how do I clear the contents of the Session Manager / Term
window?
Look at: http://code.jsoftware.com/wiki/Guides/Window_Driver/Session_Manager
Thus, to empty the Term window:
wd 'sm set term text'
which is a special case of:
wd 'sm set term text *hello fresh new world' , LF
On 14 July 2017 at 12:09, Ric Sherlock wrote:
> I suppose this depends on what "reset" means exactly.
> You can run the following command to get rid of existing name definitions
> in the base locale
> clear ''
> But it is certainly not the same as a new J session.
> It might be useful to explain w
Good way is to keep verbsand nouns separate in separate locales.
Especially keep fixed global names separate.
Maybe learn from utils and use OOP techniques?
On 14 Jul 2017 12:22, "Rudolf Sykora" wrote:
> On 14 July 2017 at 12:09, Ric Sherlock wrote:
> > I suppose this depends on what "reset" me
If a project is open in the editor, then after closing and reloading J,
opening the edit window will restore the previous edit state.
On Fri, Jul 14, 2017 at 5:21 AM, Rudolf Sykora
wrote:
> On 14 July 2017 at 12:09, Ric Sherlock wrote:
> > I suppose this depends on what "reset" means exactly.
>
On 14 July 2017 at 09:46, Lippu Esa wrote:
> load 'plot numeric'
> p1=.''conew'jwplot'
> pd__p1 steps _1 1 10
> pd__p1'title plot 1;show'
> p2=.''conew'jwplot'
> pd__p2 steps 4 12 10
> pd__p2'title plot 2;show'
>
> NB. cleanup later
> destroy__p1 ''
> destroy__p2 ''
Thanks, this seems to work.
Ju
It seems that in order to create an eps file from a plot, it's
best to just
pd 'eps fig.eps 234 176'
(the sizes are then in 1/72 in.)
However, this way I currently loose unicode characters.
How do you remedy this?
Thanks a lot
Ruda
---
Sorry, I know nothing about eps output.
On Jul 14, 2017 11:50 PM, "Rudolf Sykora" wrote:
It seems that in order to create an eps file from a plot, it's
best to just
pd 'eps fig.eps 234 176'
(the sizes are then in 1/72 in.)
However, this way I currently loose unicode characters.
How do you re
''conew'jwplot' runs create_jwplot_ (the constructor) in the newly
created object (in other words, it does a reset for you).
FYI,
--
Raul
On Fri, Jul 14, 2017 at 11:03 AM, Rudolf Sykora wrote:
> On 14 July 2017 at 09:46, Lippu Esa wrote:
>> load 'plot numeric'
>> p1=.''conew'jwplot'
>> pd__p
Thank you Raul for the explanation of the '' on the left hand side.
I don't know why I used jwplot - actually my own plotting class is derived from
jzplot.
However, in the beginning of addons/graphics/plot/plot.ijs there are these
lines:
require 'jzplot'
coclass 'jwplot'
coinsert 'jzplot
Plot eps/pdf export routines were written a few years back when there was
little or no support for arbitrary unicode in eps/pdf, though european
characters do seem to work correctly.
I am not sure the situation has changed much since then, but the plot code
has not. It may be better to use another
Hi Esa,
If you haven't already done so, take a look at the OOP lab and then look at the
script for jzplot. The mechanics of the object oriented are not complicated,
but if you don't know the structure, they will seem impenetrable.
Hope this helps.
Cheers, bob
> On Jul 14, 2017, at 9:16 AM, Li
The description of the edit control at
http://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses#edit
shows properties: doublevalidator, intvalidator. I can't get them to do
anything. When I set the validator and type in an invalid value, the
invalid value is passed on as if there wer
Oops, blunder my me, all is OK with validation.
Henry Rich
On 7/14/2017 1:01 PM, HenryRich wrote:
The description of the edit control at
http://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses#edit
shows properties: doublevalidator, intvalidator. I can't get them to
do anything. W
Thanks Bob,
I should definitely find time to study the OOP lab and the jzplot script.
Esa
-Original Message-
From: Programming [mailto:[email protected]] On Behalf
Of robert therriault
Sent: Friday, July 14, 2017 7:46 PM
To: [email protected]
Subject: Re:
I am only guessing.
jd3 might help you.
On 14 Jul 2017 15:50, "Rudolf Sykora" wrote:
> It seems that in order to create an eps file from a plot, it's
> best to just
>
> pd 'eps fig.eps 234 176'
>
> (the sizes are then in 1/72 in.)
>
> However, this way I currently loose unicode characters.
> How
On 14 July 2017 at 20:55, Björn Helgason wrote:
> I am only guessing.
> jd3 might help you.
What is jd3?
Can't find any mention of it.
Thanks
Ruda
--
For information about J forums see http://www.jsoftware.com/forums.htm
- jd3 support added (see plot section for details)
it is in jhs
On 14 Jul 2017 19:24, "Rudolf Sykora" wrote:
> On 14 July 2017 at 20:55, Björn Helgason wrote:
> > I am only guessing.
> > jd3 might help you.
>
> What is jd3?
> Can't find any mention of it.
>
> Thanks
> Ruda
> -
Presumably you mean the graphics/d3 addon?
Thanks,
--
Raul
On Fri, Jul 14, 2017 at 3:34 PM, Björn Helgason wrote:
>- jd3 support added (see plot section for details)
>
> it is in jhs
>
>
>
> On 14 Jul 2017 19:24, "Rudolf Sykora" wrote:
>
>> On 14 July 2017 at 20:55, Björn Helgason wrote
I think you are right.
Have not had a chance of testing it now.
On 14 Jul 2017 20:57, "Raul Miller" wrote:
> Presumably you mean the graphics/d3 addon?
>
> Thanks,
>
> --
> Raul
>
>
> On Fri, Jul 14, 2017 at 3:34 PM, Björn Helgason wrote:
> >- jd3 support added (see plot section for details
That is a different matter.
Indeed, "=: works and is simple" as long as one is not concerned about
producing (pure) tacit verbs. In that latter context, apparently, it does
not work well, is not simple to use and its forced use might trigger gross
space and time inefficiencies (for example, as di
That is an interesting perspective, mine is quite different :)
Rank, agreement, ... are important considerations to undertand the
behaviour of verbs. Therefore, when side effects are desired one should
take them into account to produce the results one wants.
I took them into account when I wrote
And yet, all of your verbs can be pure tacit.
For example, you could use
is=:1 :'(m)=:y'
That said, there is an argument that side effects make a verb impure. But I
am ignoring that kind of thing.
Thanks,
--
Raul
On Friday, July 14, 2017, Jose Mario Quintana
wrote:
> That is a different
standard postscript fonts used in plot are non-unicode except 2 chinese fonts.
embedded fonts are not supported plot.
http://code.jsoftware.com/wiki/Plot/Fonts
Sent from my iPhone
On 15 Jul, 2017, at 12:19 AM, chris burke wrote:
> Plot eps/pdf export routines were written a few years back whe
jwplot is a helper class that also provides window and isigraph for GUI
outputs. I think w in jwplot stands for window. jzplot is the low level base
class, one can design his own form and pass the handle of isigraph to jzplot
for rendering output.
Sent from my iPhone
On 15 Jul, 2017, at 12:16
31 matches
Mail list logo