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': '699141874415534762', 'body': 'Try adding some RSS subscription links on your floating sharing buttons widget. I placed a few on mine and so far it has produced miracles! :)', 'timestamp': '1322766502169', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322766502169#c699141874415534762', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Dec 2, 2011, 12:08:00 AM', 'deleteclass': 'item-control blog-admin pid-531334590', 'id': '5154737961391021957', 'body': 'Hai Mohd,x3cbr /x3ei need your help.. i donx26#39;t know my FEED Email link..x3cbr /x3ei do have feedburner account. but i donx26#39;t know how to get my email link in feedburner.. thanks.', 'timestamp': '1322767822403', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322767822403#c5154737961391021957', 'author': 'name': 'DewaTV', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOdZqRZPN11RjmpiSi_560ArovGUle7xd7LP0tSx1p7lCYRMbNUV3-0PGaBXwtnhyphenhyphenR4C0xsmOOWcNJ2akgOr8omPvr9i-sifQKeru-4TsLjh9skD-gnlDukTH5QEUi1M8xi8_WvvnAlik/s35/DEWATV-logo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00805477116387981936', 'displayTime': 'Dec 2, 2011, 12:30:00 AM', 'deleteclass': 'item-control blog-admin pid-1133678716', 'id': '2213048899530316346', 'body': 'My I request the link to the post that explains how to put a bar on the top of the page like this blog has? x26quot;New Year Gifts: Just like.....x26quot;x3cbr /x3ex3cbr /x3ethanks :)', 'timestamp': '1322773070032', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322773070032#c2213048899530316346', 'author': 'name': 'David Soares', 'avatarUrl': '//lh6.googleusercontent.com/-Hna-HrOao9M/AAAAAAAAAAI/AAAAAAAADcg/wYeWHyULVVs/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01869563430877883091', 'displayTime': 'Dec 2, 2011, 1:57:00 AM', 'deleteclass': 'item-control blog-admin pid-915461346', 'id': '3094700590093669978', 'body': 'i love this Subscription widget x26lt;3x3cbr /x3ex3cbr /x3ex3cbr /x3eRegards,x3cbr /x3efor All file hosting Premium account Download Unlimited From any File Hosting @ goo.gl/18WXh', 'timestamp': '1322803285704', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322803285704#c3094700590093669978', 'author': 'name': 'Unknown', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/11449374407778022739', 'displayTime': 'Dec 2, 2011, 10:21:00 AM', 'deleteclass': 'item-control blog-admin pid-645818569', 'id': '2815974065504717442', 'body': 'hhmm,..... great...x3cbr /x3e(^-^)...', 'timestamp': '1322806590032', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322806590032#c2815974065504717442', 'author': 'name': 'Umesh Tarsariya', 'avatarUrl': '//lh6.googleusercontent.com/-STjyyVofSM8/AAAAAAAAAAI/AAAAAAAAAXU/fXvanPlAeNg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/16807879922776229737', 'displayTime': 'Dec 2, 2011, 11:16:00 AM', 'deleteclass': 'item-control blog-admin pid-815606211', 'id': '2954380950598427944', 'body': '@Hombissx3cbr /x3ex3cbr /x3eThatx26#39;s indeed a great Idea. I will surely produce this widget today. Thanks homebiss. :)x3cbr /x3ex3cbr /x3e@DEwaTVx3cbr /x3ex3cbr /x3eYour RSS link is http://feeds.feedburner.com/Dewatvcomx3cbr /x3ex3cbr /x3eAnd Email Link is http://feedburner.google.com/fb/a/mailverify?urix3dx3cbx3eDewatvcomx3c/bx3ex3cbr /x3ex3cbr /x3eTake x3cbx3eDewatvcomx3c/bx3e out and add it instead of tntbystc. Hope this helps. :)x3cbr /x3ex3cbr /x3e@Davidx3cbr /x3eKind read this tutorial: x3ca hrefx3dx22http://www.mybloggertricks.com/2011/09/make-sticky-bar-for-blogspot.htmlx22 relx3dx22nofollowx22x3ex26quot;Create a stickybarx26quot;x3c/ax3ex3cbr /x3ex3cbr /x3e@unknownx3cbr /x3eMy pleasure buddy. :x26gt;x3cbr /x3ex3cbr /x3ex3cbr /x3e@Umeshx3cbr /x3eHope you will adopt this tactic. :)', 'timestamp': '1322813297216', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322813297216#c2954380950598427944', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggot5slWGpvs6tNYI0QV_ueCyhuL5rTNQC9X8z9BpYkqwcV5bxSRa3Hki39OryVlf2crGMZPWRdhv5TWdo-21scpi4m55gLRy-wTIJuWRxUTAfJGE8ItZ1umcfOmiwGlJu6Av_iotOSjs/s35/384304wl3ygq6tre.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Dec 2, 2011, 1:08:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '6436836039593482458', 'body': '@x3ca hrefx3dx22#c2954380950598427944x22 relx3dx22nofollowx22x3eMohammad Mustafa Ahmedzaix3c/ax3eThanks bro. i added this in my blog ( sadhakparivar.blogspot.com )x3cbr /x3ex3cbr /x3e(^-^)...x3cbr /x3eThanks a lot dude.....', 'timestamp': '1322979653012', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1322979653012#c6436836039593482458', 'author': 'name': 'Umesh Tarsariya', 'avatarUrl': '//lh6.googleusercontent.com/-STjyyVofSM8/AAAAAAAAAAI/AAAAAAAAAXU/fXvanPlAeNg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/16807879922776229737', 'displayTime': 'Dec 4, 2011, 11:20:00 AM', 'deleteclass': 'item-control blog-admin pid-815606211', 'id': '4375869917902835247', 'body': 'Obrigado gostei muito', 'timestamp': '1327890768041', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1327890768041#c4375869917902835247', 'author': 'name': 'Izaque', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheB6kkexTUDB2yN1PZw2Dpowa_ktHDVgjRX6wnYhA-nFn0BFnOSJ1O9gbH5Vf-8PkIVjWexP3K8be5ZqzlYPIWP3RannSe78yWK_FgVrkWKNAJHxdzbW7VukwImWTnbFzmSA_zvdx0Uftc/s35/2dmcadu.jpg', 'profileUrl': 'https://www.blogger.com/profile/02966391069220590883', 'displayTime': 'Jan 30, 2012, 7:32:00 AM', 'deleteclass': 'item-control blog-admin pid-494182998', 'id': '8844863982608620680', 'body': 'This site is great, thanks for this one also. As soon as I added it to my blog my adsense for feeds went right through the roof!', 'timestamp': '1329683250787', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1329683250787#c8844863982608620680', 'author': 'name': 'Elizabeth Nesbitt', 'avatarUrl': '//lh3.googleusercontent.com/-9BoBc8kmp-E/AAAAAAAAAAI/AAAAAAAAAo8/xhx38EdR7ZU/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07635798318612958021', 'displayTime': 'Feb 20, 2012, 1:27:00 AM', 'deleteclass': 'item-control blog-admin pid-2132176427', 'id': '7879401473209274183', 'body': 'I added this to my sidebar, and itx26#39;s great; however, its overall size is too large so it x26quot;fallsx26quot; off the edge of my blog page (too far to the right). How can I center it or shrink the whole thing to make it smaller?x3cbr /x3ex3cbr /x3ehttp://www.thesomedayhouse.com/', 'timestamp': '1337620726229', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1337620726229#c7879401473209274183', 'author': 'name': 'Jen', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihfDNby4-9Ar9ZIDl8uqCQv9DKomlf4Zeo851zDsLvJQbBBa5-HyQXLgtm9sgNBSFn2rChLjhF-_xrVWkhEPvh53fiT3jjktBerKzC_02h1GQcZCJfvML29pAFpjIvYzGYOFLMCgf4GbU/s35/cow.jpg', 'profileUrl': 'https://www.blogger.com/profile/16880771792608662640', 'displayTime': 'May 21, 2012, 10:18:00 PM', 'deleteclass': 'item-control blog-admin pid-2034011281', 'id': '1895563462461034770', 'body': 'its is not working as pop up window just still subscription formx3cbr /x3ehttp://www.link2soft.blogspot.comx3cbr /x3ex3cbr /x3ei need help plz', 'timestamp': '1339351851187', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1339351851187#c1895563462461034770', 'author': 'name': 'Hasni', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLAoJuryxLamLaOxqLQDqeOem1nNbkosg6_JRD_zSZWGojCIpPRm-6hVgFbVbqF5EPYmqSl_VffMHUrz3sGazy6fYFzIfPycJxnafgxQaCb583I_iJxlWoZ6qj0KPYitOplsYP61ozmbz4/s35/m%25252Bhussain.jpg', 'profileUrl': 'https://www.blogger.com/profile/04302053704428606539', 'displayTime': 'Jun 10, 2012, 11:10:00 PM', 'deleteclass': 'item-control blog-admin pid-507821611', 'id': '1843136543758330563', 'body': 'can i know how to know my email feed link, my feed burner url isx3cbr /x3ehttp://feeds.feedburner.com/gphackingArticles', 'timestamp': '1339769913816', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1339769913816#c1843136543758330563', 'author': 'name': 'gp hackingarticles', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/04493657859137960369', 'displayTime': 'Jun 15, 2012, 7:18:00 PM', 'deleteclass': 'item-control blog-admin pid-1382402618', 'id': '1975918827304043364', 'body': 'THANK-YOU for the code. Can you help me find my Feedburner RSS Email Title? Really donx26#39;t know where to look: http://wishgiftcanada.blogspot.com/feeds/posts/default?altx3drssx3cbr /x3ex3cbr /x3eAlso, do you happen to have the coding for Pinterest also?', 'timestamp': '1358371746164', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1358371746164#c1975918827304043364', 'author': 'name': 'www.wishgift.ca', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmf4-G1Y74kOJkURRdGwApq5QNa7rbGfyFYEHaQAi13gGaQv-G6H3xBzie7AbX9l4l-wP0XnSUuP2lhq1QBW2aOU8gb4W1pmHiYWBM9hKi7PBKfvfoxFP4leBgJRk24SLJyZzssKo_-V0d/s35/image002.jpg', 'profileUrl': 'https://www.blogger.com/profile/01860481314442944253', 'displayTime': 'Jan 17, 2013, 2:29:00 AM', 'deleteclass': 'item-control blog-admin pid-720953189', 'id': '5864580883701474444', 'body': 'email subscription widget is necessary for the loyal traffic , it is also important from the perspective of search engine optimization.your widget is auxiliary and behaving correctly at work.as we know a blog is known by the number of its subscribers and loyal traffic.well you got one more subscriber and it is me.nice work keep it up.x3ca hrefx3dx22http://www.avdhootblogger.com/2013/07/10-type-of-email-subscription-box.htmlx22 relx3dx22nofollowx22x3eemail subscription widget for bloggerx3c/ax3ex3cbr /x3e', 'timestamp': '1373463619843', 'permalink': 'https://www.mybloggertricks.com/2011/12/how-to-force-blog-visitors-to-subscribe.html?showCommentx3d1373463619843#c5864580883701474444', 'author': 'name': 'Rohan Mod', 'avatarUrl': '//lh5.googleusercontent.com/-HaAWM_1bOzU/AAAAAAAAAAI/AAAAAAAAAFA/PwBAK3CN_jg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00056775237952320716', 'displayTime': 'Jul 10, 2013, 6:40:00 PM', 'deleteclass': 'item-control blog-admin pid-1855224179'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '1601966505004063626', 'feed': 'https://www.mybloggertricks.com/feeds/1601966505004063626/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', '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
AnonymousDec 2, 2011, 12:08:00 AM
Try adding some RSS subscription links on your floating sharing buttons widget. I placed a few on mine and so far it has produced miracles! :)
ReplyDelete
DewaTVDec 2, 2011, 12:30:00 AM
Hai Mohd,
i need your help.. i don't know my FEED Email link..
i do have feedburner account. but i don't know how to get my email link in feedburner.. thanks.
ReplyDelete
David SoaresDec 2, 2011, 1:57:00 AM
My I request the link to the post that explains how to put a bar on the top of the page like this blog has? "New Year Gifts: Just like....."
thanks :)
ReplyDelete
UnknownDec 2, 2011, 10:21:00 AM
i love this Subscription widget <3
Regards,
for All file hosting Premium account Download Unlimited From any File Hosting @ goo.gl/18WXh
ReplyDelete
Umesh TarsariyaDec 2, 2011, 11:16:00 AM
hhmm,..... great...
(^-^)...
ReplyDelete
Mohammad Mustafa AhmedzaiDec 2, 2011, 1:08:00 PM
@Hombiss
That's indeed a great Idea. I will surely produce this widget today. Thanks homebiss. :)
@DEwaTV
Your RSS link is http://feeds.feedburner.com/Dewatvcom
And Email Link is http://feedburner.google.com/fb/a/mailverify?uri=Dewatvcom
Take Dewatvcom out and add it instead of tntbystc. Hope this helps. :)
@David
Kind read this tutorial: "Create a stickybar"
@unknown
My pleasure buddy. :>
@Umesh
Hope you will adopt this tactic. :)
ReplyDelete
Umesh TarsariyaDec 4, 2011, 11:20:00 AM
@Mohammad Mustafa AhmedzaiThanks bro. i added this in my blog ( sadhakparivar.blogspot.com )
(^-^)...
Thanks a lot dude.....
ReplyDelete
IzaqueJan 30, 2012, 7:32:00 AM
Obrigado gostei muito
ReplyDelete
Elizabeth NesbittFeb 20, 2012, 1:27:00 AM
This site is great, thanks for this one also. As soon as I added it to my blog my adsense for feeds went right through the roof!
ReplyDelete
JenMay 21, 2012, 10:18:00 PM
I added this to my sidebar, and it's great; however, its overall size is too large so it "falls" off the edge of my blog page (too far to the right). How can I center it or shrink the whole thing to make it smaller?
http://www.thesomedayhouse.com/
ReplyDelete
HasniJun 10, 2012, 11:10:00 PM
its is not working as pop up window just still subscription form
http://www.link2soft.blogspot.com
i need help plz
ReplyDelete
gp hackingarticlesJun 15, 2012, 7:18:00 PM
can i know how to know my email feed link, my feed burner url is
http://feeds.feedburner.com/gphackingArticles
ReplyDelete
www.wishgift.caJan 17, 2013, 2:29:00 AM
THANK-YOU for the code. Can you help me find my Feedburner RSS Email Title? Really don't know where to look: http://wishgiftcanada.blogspot.com/feeds/posts/default?alt=rss
Also, do you happen to have the coding for Pinterest also?
ReplyDelete
Rohan ModJul 10, 2013, 6:40:00 PM
email subscription widget is necessary for the loyal traffic , it is also important from the perspective of search engine optimization.your widget is auxiliary and behaving correctly at work.as we know a blog is known by the number of its subscribers and loyal traffic.well you got one more subscriber and it is me.nice work keep it up.email subscription widget for blogger
ReplyDelete