From jeremyr at uga.edu Wed Jun 15 23:52:54 2016 From: jeremyr at uga.edu (Jeremy Reynolds) Date: Wed, 15 Jun 2016 17:52:54 -0400 Subject: [Traminer-users] changing the layout in a seqplot with the group option Message-ID: Dear Traminer users, 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? seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA, use.layout=TRUE, cols=1)Error in plot.new() : figure margins too large I have also tried using the par() approach instead, but I get an error message there too. png(file = "mc_mm.png")par(mfrow=c(7,1))seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA)Error in par(savepar) : invalid value specified for graphical parameter "pin" Thanks, Jeremy -- ******************** Dr. Jeremy Reynolds Professor Department of Sociology 116 Baldwin Hall University of Georgia Athens, GA 30602-1611 Phone: (706) 583-8072 Web: http://uga.edu/soc/people/faculty/reynolds_jeremy.php Fax: (706) 542-4320 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasi.haapakorva at thl.fi Thu Jun 16 07:50:58 2016 From: pasi.haapakorva at thl.fi (Haapakorva Pasi) Date: Thu, 16 Jun 2016 05:50:58 +0000 Subject: [Traminer-users] changing the layout in a seqplot with the group option In-Reply-To: References: Message-ID: Hi, 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: png(filename = "yourfile.png", width = 4000, height = 4000, units = "px", pointsize=30) seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA, use.layout=TRUE, cols=1) dev.off() where you can adjust the dimensions of your resulting image and also the size of the fonts and borders with the pointsize option. Pasi Haapakorva From: traminer-users-bounces at r-forge.wu-wien.ac.at [mailto:traminer-users-bounces at r-forge.wu-wien.ac.at] On Behalf Of Jeremy Reynolds Sent: 16. kes?kuuta 2016 0:53 To: traminer-users at lists.r-forge.r-project.org Subject: [Traminer-users] changing the layout in a seqplot with the group option Dear Traminer users, 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? seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA, use.layout=TRUE, cols=1) Error in plot.new() : figure margins too large I have also tried using the par() approach instead, but I get an error message there too. png(file = "mc_mm.png") par(mfrow=c(7,1)) seqdplot(mm.m.seq, group = pamomf2i5w2q.m$clustering$cluster7, border = NA) Error in par(savepar) : invalid value specified for graphical parameter "pin" Thanks, Jeremy -- ******************** Dr. Jeremy Reynolds Professor Department of Sociology 116 Baldwin Hall University of Georgia Athens, GA 30602-1611 Phone: (706) 583-8072 Web: http://uga.edu/soc/people/faculty/reynolds_jeremy.php Fax: (706) 542-4320 -------------- next part -------------- An HTML attachment was scrubbed... URL: