1 2 I'm trying to develop a multiplot heatmap.2 saved to a pdf. I'm having some success but the axis labels are getting chopped off. Subplot titles are also desirable but again the labels are getting chopped. Here's my reproducible code: library(gridExtra) library(grid) library(gridGraphics) library(gplots) Col = colorRampPalette(c("red","orange","yellow", "white")) grab_grob <- function() grid.echo() grid.grab() par(cex.main=0.1, mar = c(1,1,1,1) ) #data<-read.table("heatmap.input.matrix.data.txt") lmat = rbind(c(2,3),c(4,1),c(4,1)) lwid = c(2.5,4) lhei = c(0.5,4,3) labRowvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[1])) labColvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[2])) gl <- lapply(1:12, function(i) heatmap.2(matrix(runif(1000, 1,10),ncol=50), dendrogram = "none",offsetRow=-0.5, offsetCol=-1,srtCol=0, density="density", lmat =lmat,lhei = l
(function() {
var items = ['id': '919073857055090531', 'body': ':)! when mind stops, topics directory came to an termination :) always similar things are produced ! ^_^ np! keep up the hard work!x3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://www.bloggerfreaks.com/2012/08/free-ad-spots-weakly-giveaway.htmlx22 relx3dx22nofollowx22x3e Free Ad Spotsx3c/ax3e', 'timestamp': '1345837221489', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345837221489#c919073857055090531', 'author': 'name': 'meesum raza', 'avatarUrl': '//lh6.googleusercontent.com/-E24Ktlv7Zyc/AAAAAAAAAAI/AAAAAAAAAVc/vHOMh_1wTQE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09912246730120798770', 'displayTime': 'Aug 25, 2012, 12:40:00 AM', 'deleteclass': 'item-control blog-admin pid-670147127', 'id': '5444024858851876312', 'body': 'good info bro www.mytechpromo.com', 'timestamp': '1345837470398', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345837470398#c5444024858851876312', 'author': 'name': 'Pramod sharma', 'avatarUrl': '//lh5.googleusercontent.com/-aYCwzjt6gZg/AAAAAAAAAAI/AAAAAAAAAb8/skybPO7BtDQ/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03542627251776885355', 'displayTime': 'Aug 25, 2012, 12:44:00 AM', 'deleteclass': 'item-control blog-admin pid-276601567', 'id': '7393040675483878324', 'body': 'very nice and informative post thanks for sharing.x3cbr /x3ex3cbr /x3eregardsx3cbr /x3esmartincomeguide.com', 'timestamp': '1345839343260', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345839343260#c7393040675483878324', 'author': 'name': 'jalil haider', 'avatarUrl': '//lh6.googleusercontent.com/-ERCGezx2VDs/AAAAAAAAAAI/AAAAAAAAADo/Avff9WIgcFA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07883942432833319136', 'displayTime': 'Aug 25, 2012, 1:15:00 AM', 'deleteclass': 'item-control blog-admin pid-710269326', 'id': '9089328500668678857', 'body': 'Nice post dude,x3cbr /x3ex3ca hrefx3dx22http://topphotosblog.blogspot.inx22 relx3dx22nofollowx22x3etopphotosblog.blogspot.inx3c/ax3e', 'timestamp': '1345861619375', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345861619375#c9089328500668678857', 'author': 'name': 'teniyal garg', 'avatarUrl': '//lh3.googleusercontent.com/-RPt2clC6gRg/AAAAAAAAAAI/AAAAAAAAAAA/BzrThxT6uIc/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17650877455963588106', 'displayTime': 'Aug 25, 2012, 7:26:00 AM', 'deleteclass': 'item-control blog-admin pid-1372004723', 'id': '1580597466913908124', 'body': 'New thinking x3cbr /x3ex3cbr /x3ethanks for posted', 'timestamp': '1345862958268', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345862958268#c1580597466913908124', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Aug 25, 2012, 7:49:00 AM', 'deleteclass': 'item-control blog-admin pid-531334590', 'id': '38959295151811157', 'body': 'intersting post... but this process is little time consuming...:)x3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://probloggerstricks.blogspot.com/2012/08/basics-become-pro-blogger-seo-earner.htmlx22 relx3dx22nofollowx22x3eProBloggers ABCD-Zx3c/ax3e', 'timestamp': '1345865043369', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345865043369#c38959295151811157', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Aug 25, 2012, 8:24:00 AM', 'deleteclass': 'item-control blog-admin pid-531334590', 'id': '5917730131229586063', 'body': 'Nice post, just added captions for one of my Videox3cbr /x3ex3cbr /x3ehttp://youtu.be/eEibq2EpxGA x3cbr /x3ex3cbr /x3eThanks qasim', 'timestamp': '1345870883368', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345870883368#c5917730131229586063', 'author': 'name': 'SR', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGu_96D2ZsmXPpa5lJ_iMMtZmpQh5JnZYCn-wKird3KTbhZy6xxn2zXYMFO7S4TPcHzqkL-Djs9VDAVsApC3W55SX-oKK5K81aWUn8kPoa1RCffmmWsAUNUDmBsb5SIjzLhfFL9w3Egrk/s35/avatar.jpg', 'profileUrl': 'https://www.blogger.com/profile/03987806199044863197', 'displayTime': 'Aug 25, 2012, 10:01:00 AM', 'deleteclass': 'item-control blog-admin pid-449986473', 'id': '1308812829720547967', 'body': 'Nice..', 'timestamp': '1345872836560', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345872836560#c1308812829720547967', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Aug 25, 2012, 10:33:00 AM', 'deleteclass': 'item-control blog-admin pid-531334590', 'id': '1108488482375998609', 'body': 'x3ca hrefx3dx22http://nethelp24.blogspot.comx22 relx3dx22nofollowx22x3eVery useful post, Thanksx3c/ax3e', 'timestamp': '1345875293846', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345875293846#c1108488482375998609', 'author': 'name': 'Munna Haque', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio6pKWFmnRmEiZ8erHXSFHDX5DEPAyzhBUtnkMLyZpDkHG2IkNVcUS7ehZXmD8M0SmWyzd56SG6LnHP4o_07KAA7O4vVTBupRopq_BDzp56rbdgsgZvEZG-N7viY3QlVB9elo8tsC2Kl0/s35/munnablogger.jpg', 'profileUrl': 'https://www.blogger.com/profile/11654249102663401119', 'displayTime': 'Aug 25, 2012, 11:14:00 AM', 'deleteclass': 'item-control blog-admin pid-288749523', 'id': '7609399411048196357', 'body': 'Great method brother. i think this is one of the best method to attract readers.x3cbr /x3ex3cbr /x3eVisit: x3ca hrefx3dx22http://www.mybloggerclub.comx22 relx3dx22nofollowx22x3ePremium Blogging Tipsx3c/ax3e.', 'timestamp': '1345878707792', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345878707792#c7609399411048196357', 'author': 'name': 'Janmejaya Mohanty', 'avatarUrl': '//lh6.googleusercontent.com/-SbGNyH1N-WQ/AAAAAAAAAAI/AAAAAAAAA94/jVLqta7qars/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09354973167512348574', 'displayTime': 'Aug 25, 2012, 12:11:00 PM', 'deleteclass': 'item-control blog-admin pid-630718289', 'id': '3292491278233602529', 'body': 'Thanks For Informative Post Qasim :)x3cbr /x3eVisit: x3ca hrefx3dx22http://www.techehow.com/x22 relx3dx22nofollowx22x3eTecheHow Blogger Tricksx3c/ax3e', 'timestamp': '1345923651933', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345923651933#c3292491278233602529', 'author': 'name': 'Osho Garg', 'avatarUrl': '//4.bp.blogspot.com/-HRHygKGTpmU/T7S43jXXnYI/AAAAAAAAADQ/ElkgsD9vomM/s35/Osho%25252520Garg.jpg', 'profileUrl': 'https://www.blogger.com/profile/01594429460928016952', 'displayTime': 'Aug 26, 2012, 12:40:00 AM', 'deleteclass': 'item-control blog-admin pid-1484966044', 'id': '3884568557661385832', 'body': 'WOW..x3cbr /x3ereally very Good and Informative post Bro.!!x3cbr /x3ethanks..)x3cbr /x3ex3ca hrefx3dx22http://tricksme.inx22 relx3dx22nofollowx22x3eTricksme-The Technology and Internet Tricks Blogx3c/ax3e', 'timestamp': '1345956939297', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345956939297#c3884568557661385832', 'author': 'name': 'Admin-Ali', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/07786204669971929178', 'displayTime': 'Aug 26, 2012, 9:55:00 AM', 'deleteclass': 'item-control blog-admin pid-1023629798', 'id': '2407192854163052956', 'body': 'another good post :)x3cbr /x3ex3ca hrefx3dx22http://best4hack.blogspot.inx22 relx3dx22nofollowx22x3eBest4Hackx3c/ax3e', 'timestamp': '1345973997290', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345973997290#c2407192854163052956', 'author': 'name': 'ankit agarwal', 'avatarUrl': '//lh5.googleusercontent.com/-anVeKE4Ktj4/AAAAAAAAAAI/AAAAAAAAACA/D6TVStHz_gM/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/08515182284446148097', 'displayTime': 'Aug 26, 2012, 2:39:00 PM', 'deleteclass': 'item-control blog-admin pid-91076885', 'id': '1865208257245776947', 'body': 'brother its not as much latest feature as you saying by they pictures are good enough to help beginners like me :)x3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://www.extremetechblog.com/2012/08/blogger-multiple-authors-google-authorship.htmlx22 relx3dx22nofollowx22x3eGoogle Authorship Verification for Multiple Authors for Blogger [Video]x3c/ax3e', 'timestamp': '1345997138094', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1345997138094#c1865208257245776947', 'author': 'name': 'Sohaib Ilyas', 'avatarUrl': '//lh5.googleusercontent.com/-o-iutwLcmOo/AAAAAAAAAAI/AAAAAAAAASo/wfusF0DWZ98/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03625288071180971956', 'displayTime': 'Aug 26, 2012, 9:05:00 PM', 'deleteclass': 'item-control blog-admin pid-824488406', 'id': '2019238840176736199', 'body': 'This is really nice!!, but I have a question... I have seen that in some websites the black menu in the youtube videos, instead of being black the color of the menu is grey, do you know how to do that?', 'timestamp': '1346031980258', 'permalink': 'https://www.mybloggertricks.com/2012/08/youtube-interactive-transcripts.html?showCommentx3d1346031980258#c2019238840176736199', 'author': 'name': 'Edel Muñoz , 'displayTime': 'Aug 27, 2012, 6:46:00 AM', 'deleteclass': 'item-control blog-admin pid-1133078263'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '9165393880104932637', 'feed': 'https://www.mybloggertricks.com/feeds/9165393880104932637/comments/default', 'authorName': 'Qasim Zaib', 'authorUrl': 'https://www.blogger.com/profile/08938578237404814539', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;
var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';
return entry.content.$t;
var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;
if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;
if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];
comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;
comments.push(comment);
return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();
window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length
meesum razaAug 25, 2012, 12:40:00 AM
:)! when mind stops, topics directory came to an termination :) always similar things are produced ! ^_^ np! keep up the hard work!
Free Ad Spots
ReplyDelete
Pramod sharmaAug 25, 2012, 12:44:00 AM
good info bro www.mytechpromo.com
ReplyDelete
jalil haiderAug 25, 2012, 1:15:00 AM
very nice and informative post thanks for sharing.
regards
smartincomeguide.com
ReplyDelete
teniyal gargAug 25, 2012, 7:26:00 AM
Nice post dude,
topphotosblog.blogspot.in
ReplyDelete
AnonymousAug 25, 2012, 7:49:00 AM
New thinking
thanks for posted
ReplyDelete
AnonymousAug 25, 2012, 8:24:00 AM
intersting post... but this process is little time consuming...:)
ProBloggers ABCD-Z
ReplyDelete
SRAug 25, 2012, 10:01:00 AM
Nice post, just added captions for one of my Video
http://youtu.be/eEibq2EpxGA
Thanks qasim
ReplyDelete
AnonymousAug 25, 2012, 10:33:00 AM
Nice..
ReplyDelete
Munna HaqueAug 25, 2012, 11:14:00 AM
Very useful post, Thanks
ReplyDelete
Janmejaya MohantyAug 25, 2012, 12:11:00 PM
Great method brother. i think this is one of the best method to attract readers.
Visit: Premium Blogging Tips.
ReplyDelete
Osho GargAug 26, 2012, 12:40:00 AM
Thanks For Informative Post Qasim :)
Visit: TecheHow Blogger Tricks
ReplyDelete
Admin-AliAug 26, 2012, 9:55:00 AM
WOW..
really very Good and Informative post Bro.!!
thanks..)
Tricksme-The Technology and Internet Tricks Blog
ReplyDelete
ankit agarwalAug 26, 2012, 2:39:00 PM
another good post :)
Best4Hack
ReplyDelete
Sohaib IlyasAug 26, 2012, 9:05:00 PM
brother its not as much latest feature as you saying by they pictures are good enough to help beginners like me :)
Google Authorship Verification for Multiple Authors for Blogger [Video]
ReplyDelete
Edel Muñoz | Editor en cargoAug 27, 2012, 6:46:00 AM
This is really nice!!, but I have a question... I have seen that in some websites the black menu in the youtube videos, instead of being black the color of the menu is grey, do you know how to do that?
ReplyDelete