ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sytse Knypstra <S.Knypstra@eco.rug.nl>
Subject: Re: Superimposing two flowcharts
Date: Fri, 23 Apr 2004 09:53:49 +0200	[thread overview]
Message-ID: <5.2.0.9.1.20040423094844.00a956f8@imap.eco.rug.nl> (raw)
In-Reply-To: <6.0.1.1.2.20040422110035.02e649c8@server-1>

Thank you Hans.
The remaining problem is that the bigger shape is scaled down to the size 
of the smaller shapes.

Sytse

Here is the source:

\setupFLOWcharts[
[ nx=1, ny=1,
  dx=40pt, dy=25pt,
  breedte=260pt, hoogte=130pt
]

\setupFLOWlines
[hoek=rond,
  kaderkleur=blauw,
  pijl=ja]

\startFLOWchart[Observations]  % The bigger shape

\startFLOWcell
  \name{Obs}
  \location{1,1}
  \shape{action}
  \text{{\bf observations}}
\stopFLOWcell
\stopFLOWchart


\setupFLOWcharts
[ nx=3, ny=2,
  dx=40pt, dy=25pt,
  breedte=110pt, hoogte=130pt
]

\startFLOWchart[Parameters] % The smaller shapes

  \startFLOWcell
   \name{Obs1}
   \location{1,1}
   \shape{node}
   \connection[bt]{CanPar}
  \stopFLOWcell

  \startFLOWcell
   \name{Obs2}
   \location{2,1}
   \shape{node}
   \connection[bt]{Means}
  \stopFLOWcell

  \startFLOWcell
   \name {CanPar}
   \location{1,2}
   \shape{action}
   \text{{\bf 
canonical\\parameters}\\$\btheta=\pmatrix{\theta_1\cr\vdots\cr\theta_n\cr}$}
   \connection[-r-l]{Means}
   \comment[t]{$\mu_i=h^{-1}(\theta_i)$}
   \comment[b]{$=b'(\theta_i)$}
   \stopFLOWcell

\startFLOWcell
   \name {Means}
   \location{2,2}
   \shape{action}
   \text{{\bf means}\\~\\$\E\Y=\bmu=\pmatrix{\mu_1\cr\vdots\cr\mu_n\cr}$}
   \connection[+l+r]{CanPar}
   \comment[b]{$\theta_i=h(\mu_i)$}
   \connection[+r+l]{LinStruct}
   \comment[t]{link function}
   \comment[b]{$\eta_i=g(\mu_i)$}
  \stopFLOWcell

\startFLOWcell
   \name {LinStruct}
   \location{3,2}
   \shape{action}
   \text{{\bf linear 
structure}\\~\\$\pmatrix{\eta_i\cr\vdots\cr\eta_n\cr}={\boldmath{\eta}}=\X\bbeta$}
   \connection[-l-r]{Means}
   \comment[t]{$\mu_i=g^{-1}(\eta_i)$}
   \comment[b]{response f.}
\stopFLOWcell

\stopFLOWchart

\startoverlay
    {\FLOWchart[Parameters]}
    {\FLOWchart[Observations]}
\stopoverlay



At 4/22/2004 11:02, you wrote:
>\startoverlay
>    {... de chart ...}
>    {... de chart ...}
>\stopoverlay

  reply	other threads:[~2004-04-23  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22  7:26 Sytse Knypstra
2004-04-22  9:02 ` Hans Hagen
2004-04-23  7:53   ` Sytse Knypstra [this message]
2004-04-25 22:11     ` Hans Hagen
2004-04-26 11:25       ` Sytse Knypstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.2.0.9.1.20040423094844.00a956f8@imap.eco.rug.nl \
    --to=s.knypstra@eco.rug.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).