Displaying 4 results from an estimated 4 matches for "out_fname".
2008 Jun 10
1
Concat Multiple Plots into one PNG figure
...rts,
I tried to put the two plots into one final PNG figure
with the following script.
However instead of giving 2 plots in one figure,
it only gives the the last plot in one figure.
What's wrong with my script below?
__BEGIN__
in_fname <- paste("mydata.txt.",sep="")
out_fname <- paste("finalplot.png",sep="")
dat <- read.table(in_fname, comment.char = "!" , na.strings = "null");
dat.pca <- prcomp(dat[,1:ncol(dat)], retx=TRUE, scores=TRUE)
trellis.device("png", color=TRUE)
png(out_fname)
# End figure expected t...
2008 Feb 27
2
Dovecot NFS Indexes and IMAP Migration
...hange and critiquing it would be easier with a full context.
sub convert_subscriptions {
my ($dir, $owner_uid, $owner_gid) = @_;
my $in_fname = "$dir/courierimapsubscribed";
# ADDED: The bincimap file to parse
my $in_fname2 = "$dir/.bincimap-subscribed";
my $out_fname = "$dir/subscriptions";
# MODIFIED: Return only if neither exist
return if (!-f $in_fname && !-f $in_fname2);
if (!$overwrite && -f $out_fname) {
print "$out_fname already exists, not overwritten\n" if (!$quiet);
return;
}
return...
2007 Mar 20
1
The perfect Courier -> Dovecot conversion tool
I've tested this only with a test user.
http://dovecot.org/tools/courier-dovecot-migrate.pl
http://wiki.dovecot.org/Migration/Courier
# Migrate Courier IMAP (any version) and Courier POP3 (v0.43+) to
Dovecot v1.0
# by Timo Sirainen. This is public domain.
# Usage: [--quiet] [--convert] [--overwrite] [--recursive] [<conversion
path>]
# --quiet: Print only errors
# --convert: Do
2008 Jun 26
0
Unsqueezing Stacked Figures
...ogether as rectangle figures each.
(i.e. the y axes are compressed)
Is there a way I can resize the figure?
So that it can show proportional and
complete plots?
The code I have is the following:
(I can also provide the figure if needed).
__BEGIN__
trellis.device("png", color=TRUE)
png(out_fname)
par(mfrow = c(2,1))
scat <- plot(gexp.arr,
type = "l",
col="red",
xlab="Sample",
ylab="Exp Lvl",
main="My Plot",
split=c(1,1,1,2), more = TRUE
)
gehist <- h...