<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Vasco,<br>
<br>
I just discovered that there exists a possible solution, at least
if you don't have too many states. You can use the "density" and
"angle" standard R options, as in the example below. The "density"
argument is for the density of the lines, you can use either a
single value or a vector with at most one value for each state (in
the example I use only three different densities,which are
repeated), and "angle" is for the angle of the lines, and you can
also use either a single value or a vector as in the example. <br>
<br>
You will have to plot the legend separately, by using
"withlegend=FALSE" for seqdplot and then seqlegend with the same
"density" and "angle" arguments<br>
<br>
<tt>library(TraMineR) <br>
<br>
## creating the sequence object<br>
</tt><tt>data(mvad)<br>
</tt>
<pre><tt>mvad.alphabet <- c("employment", "FE", "HE", "joblessness", "school", "training")
mvad.labels <- c("employment", "further education", "higher education", "joblessness", "school", "training")
mvad.scodes <- c("EM", "FE", "HE", "JL", "SC", "TR")
mvad.seq <- seqdef(mvad, 17:86, alphabet = mvad.alphabet, states = mvad.scodes, labels = mvad.labels, xtstep = 6)
## Plotting
seqdplot(mvad.seq, density=c(20,30,40), angle=c(30,60,90,120,150,180), withlegend=F)
seqlegend(mvad.seq, density=</tt><tt>c(20,30,40)</tt><tt>, angle=c(30,60,90,120,150,180))
</tt></pre>
Best regards,<br>
Alexis<br>
<br>
<br>
Le 11. 09. 12 14:47, Vasco Miguel dos Santos Ramos a écrit :<br>
</div>
<blockquote
cite="mid:8BA2D39B6E138C43A5ECDA208DF979950128BAC1913F@UL-MBCLUSTER02.ul.pt"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloCorreioElectrnico17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi All, my first
question here.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have been using
TraMineR for about 2 years now and it works fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Right now I have a
publisher that wants us to use black and white graphs for a
seqdplot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Up to now I used only
the colors in the palette (with mypal, etc..)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have tried different
combinations of black, white and shades of grey. But it’s
not perfect.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Another solution would
be to use dots against white, line against white, symbols,
etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I simply don’t know
how to do it. I am not an expert user of R, i have used
almost only TraMineR.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is it possible to do a
seqdplot in the way that I described?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vasco<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Traminer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</a>
</pre>
</blockquote>
<br>
</body>
</html>