<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
mso-fareast-language:FI;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.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]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ve had this same error message when I’m trying to produce an image that is too large for the plot window. It happens more often when there is
a large number of clusters or levels in a covariant. Create a plot window with say plot(1) and enlarge it, then run your code. If that doesn’t help (I’ve had this happen), you can write the image straight to file:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">png(filename = "yourfile.png", width = 4000, height = 4000, units = "px", pointsize=30)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA, use.layout=TRUE, cols=1)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">dev.off()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">where you can adjust the dimensions of your resulting image and also the size of the fonts and borders with the pointsize option.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Pasi Haapakorva<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> traminer-users-bounces@r-forge.wu-wien.ac.at [mailto:traminer-users-bounces@r-forge.wu-wien.ac.at]
<b>On Behalf Of </b>Jeremy Reynolds<br>
<b>Sent:</b> 16. kesäkuuta 2016 0:53<br>
<b>To:</b> traminer-users@lists.r-forge.r-project.org<br>
<b>Subject:</b> [Traminer-users] changing the layout in a seqplot with the group option<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear Traminer users,<o:p></o:p></p>
</div>
<p class="MsoNormal">I am using the seqplot command with the group option to make a figure that has seven subgraphs. The help file seems to suggest that the code below might be correct, but I get an error message. Can someone tell me if there is a problem
with my code? <br>
<br>
<br>
<o:p></o:p></p>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:blue">seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA, use.layout=TRUE, cols=1)<o:p></o:p></span></pre>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:#C5060B">Error in plot.new() : figure margins too large</span><span style="font-family:"Lucida Console";color:black"><o:p></o:p></span></pre>
<p class="MsoNormal"><br>
I have also tried using the par() approach instead, but I get an error message there too.<br>
<br>
<br>
<o:p></o:p></p>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:blue">png(file = "mc_mm.png")<o:p></o:p></span></pre>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:blue">par(mfrow=c(7,1))<o:p></o:p></span></pre>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:blue">seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA)<o:p></o:p></span></pre>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:#C5060B">Error in par(savepar) : <o:p></o:p></span></pre>
<pre style="line-height:11.25pt;background:white"><span style="font-family:"Lucida Console";color:#C5060B"> invalid value specified for graphical parameter "pin"</span><span style="font-family:"Lucida Console";color:black"><o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks,<o:p></o:p></p>
</div>
<p class="MsoNormal">Jeremy<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">********************<br>
Dr. Jeremy Reynolds<br>
Professor<br>
Department of Sociology<br>
116 Baldwin Hall<br>
University of Georgia<br>
Athens, GA 30602-1611<br>
Phone: (706) 583-8072<br>
Web: <a href="http://uga.edu/soc/people/faculty/reynolds_jeremy.php" target="_blank">
http://uga.edu/soc/people/faculty/reynolds_jeremy.php</a><br>
Fax: (706) 542-4320<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>