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': '6570684036391204387', 'body': 'hey thats very cute!x3cbr /x3ebtw i wanted to ask how can i change my blogx26#39;s feed mailx26#39;s subject to the latest post? i know about $(latestitemTitle) but it just appears like that only in the subject which is why a lot of my subscribers are unsubscribing :\', 'timestamp': '1323201481098', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323201481098#c6570684036391204387', 'author': 'name': 'Vanity', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY-TcRgFGIezl49Rpbp_GRjCXwVbhdRIwPOJuaVvPqZweXtA1WSjemfAPbkcvJbblXIt4YvUXZIRa4p50d4FJkSx533o11V_Q6vGCtUiSg4o7-orFNHac8c_U_JHzU4e4FmpTxQbOW8c_I/s35/vanity.jpg', 'profileUrl': 'https://www.blogger.com/profile/06084189760396147512', 'displayTime': 'Dec 7, 2011, 12:58:00 AM', 'deleteclass': 'item-control blog-admin pid-773227132', 'id': '6738989655013296629', 'body': 'good stuff for chirtiansx3cbr /x3ewe will expecting more at every event!', 'timestamp': '1323202402507', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323202402507#c6738989655013296629', 'author': 'name': 'Faiz Muhammad Khan', 'avatarUrl': '//lh3.googleusercontent.com/-WRvFHu_exG0/AAAAAAAAAAI/AAAAAAAAAUM/qgkj7Y6HuJE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/14942194851644283035', 'displayTime': 'Dec 7, 2011, 1:13:00 AM', 'deleteclass': 'item-control blog-admin pid-1900937115', 'id': '339159182073292370', 'body': 'Hi Mohammad I have 1 question. I used to get 6000 visitors daily and to make my website faster and good looking i changed my whole template but i put the same meta tags back. Now my traffic has decreased to 3000 visitors. Can you please tell me what might be the reason thanksx3cbr /x3ex3cbr /x3emy website is www.symbianfan.com', 'timestamp': '1323212607146', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323212607146#c339159182073292370', 'author': 'name': 'SymbianFan', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyi438B4orRLMTfC0yUkDtlsofb6WoMiej9yC1PwNIZqbOQVBa_ImU0du_s4S_pN-BxFHxlFG5XSc0VHzGvFv1KgUVYXIV9nxI5KzrCUu8Rr0bUTo33uE-ttXB5LKIlwcm8E8MNYdCsT8/s35/maker.png', 'profileUrl': 'https://www.blogger.com/profile/09879776676184064821', 'displayTime': 'Dec 7, 2011, 4:03:00 AM', 'deleteclass': 'item-control blog-admin pid-1508459735', 'id': '7655952153848757065', 'body': 'Assalamualikum ,i have a problem ahmed bhai. will you please check my blog http://qayyumhackingarticles.blogspot.com and tell me whether my bookmarking icons are working correct or not. because my facebook icon is not showing the post but it is showing something else. please check it out.', 'timestamp': '1323251619414', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323251619414#c7655952153848757065', 'author': 'name': 'Syed Abdul Qayyum', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/13656447840698295155', 'displayTime': 'Dec 7, 2011, 2:53:00 PM', 'deleteclass': 'item-control blog-admin pid-1188626826', 'id': '655693368647604544', 'body': '@vanityx3cbr /x3ex3cbr /x3eBy default feedburner always displays the title of feed and its content. It wont show the same title for every post. If you are facing this issuse then go to your feedburner account and navigate to Optimize x26gt; Title/Description Burner, and see that this service is set to inactive.x3cbr /x3eI hope this helps.x3cbr /x3ex3cbr /x3e@Faizx3cbr /x3eYou surely will pal always. :)x3cbr /x3ex3cbr /x3e@SymbianFanx3cbr /x3eMost of your posts are short in length approximately less than 200 words. The Recent Google Panda penalty is applied on all sites with short content (fewer than 350 words) x3cbr /x3ex3cbr /x3eI wish that your site may not have been effected by it but if this change happened this november then check your analytics and see if the traffic dropped between (OCT 11 till NOV)x3cbr /x3ex3cbr /x3eKindly write more of text and less of graphics buddy.x3cbr /x3ex3cbr /x3ex3cbr /x3e@syedx3cbr /x3eYou are using church theme and this problem is occurring even with my theme. Kindly adopt this approach x3ca hrefx3dx22http://www.mybloggertricks.com/2011/12/post-tweets-to-facebook-automatically.htmlx22 relx3dx22nofollowx22x3ePost to facebook and twitter automaticallyx3c/ax3ex3cbr /x3ex3cbr /x3eYOur a tag for post title is missing. Search for this:x3cbr /x3ex26lt;data:post.title/x26gt; and make sure it looks like this:x3cbr /x3ex3cbr /x3ex26lt;a expr:hrefx3dx26#39;data:post.linkx26#39;x26gt;x26lt;data:post.title/x26gt;x26lt;/ax26gt;', 'timestamp': '1323255702570', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323255702570#c655693368647604544', '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 7, 2011, 4:01:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '994320328297350682', 'body': 'mohammad could you a do a post on it in detail plz, I didnt get it. all i can see is optimizex26gt; email branding..and this technique doesnt work', 'timestamp': '1323263243071', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323263243071#c994320328297350682', 'author': 'name': 'Vanity', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY-TcRgFGIezl49Rpbp_GRjCXwVbhdRIwPOJuaVvPqZweXtA1WSjemfAPbkcvJbblXIt4YvUXZIRa4p50d4FJkSx533o11V_Q6vGCtUiSg4o7-orFNHac8c_U_JHzU4e4FmpTxQbOW8c_I/s35/vanity.jpg', 'profileUrl': 'https://www.blogger.com/profile/06084189760396147512', 'displayTime': 'Dec 7, 2011, 6:07:00 PM', 'deleteclass': 'item-control blog-admin pid-773227132', 'id': '4181791458828561529', 'body': 'Hi mohammad thanks for the a reply i will try to write more content from now on but my traffic was dropped from December 2 or 3 the day after i changed my template.', 'timestamp': '1323384824105', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323384824105#c4181791458828561529', 'author': 'name': 'SymbianFan', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyi438B4orRLMTfC0yUkDtlsofb6WoMiej9yC1PwNIZqbOQVBa_ImU0du_s4S_pN-BxFHxlFG5XSc0VHzGvFv1KgUVYXIV9nxI5KzrCUu8Rr0bUTo33uE-ttXB5LKIlwcm8E8MNYdCsT8/s35/maker.png', 'profileUrl': 'https://www.blogger.com/profile/09879776676184064821', 'displayTime': 'Dec 9, 2011, 3:53:00 AM', 'deleteclass': 'item-control blog-admin pid-1508459735', 'id': '1470648190123095179', 'body': 'assalamualikum ahmed bhai, i have tried what you say but there many in my church theme. which one should i edit for my bookmarking icons. please help me, the facebook icon is not showing my post but it is showing some other thing.', 'timestamp': '1323425630639', 'permalink': 'https://www.mybloggertricks.com/2011/12/christmas-countdown-widget-for-blogger.html?showCommentx3d1323425630639#c1470648190123095179', 'author': 'name': 'Syed Abdul Qayyum', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/13656447840698295155', 'displayTime': 'Dec 9, 2011, 3:13:00 PM', 'deleteclass': 'item-control blog-admin pid-1188626826'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '7002985366877027298', 'feed': 'https://www.mybloggertricks.com/feeds/7002985366877027298/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
VanityDec 7, 2011, 12:58:00 AM
hey thats very cute!
btw i wanted to ask how can i change my blog's feed mail's subject to the latest post? i know about $(latestitemTitle) but it just appears like that only in the subject which is why a lot of my subscribers are unsubscribing :
ReplyDelete
Faiz Muhammad KhanDec 7, 2011, 1:13:00 AM
good stuff for chirtians
we will expecting more at every event!
ReplyDelete
SymbianFanDec 7, 2011, 4:03:00 AM
Hi Mohammad I have 1 question. I used to get 6000 visitors daily and to make my website faster and good looking i changed my whole template but i put the same meta tags back. Now my traffic has decreased to 3000 visitors. Can you please tell me what might be the reason thanks
my website is www.symbianfan.com
ReplyDelete
Syed Abdul QayyumDec 7, 2011, 2:53:00 PM
Assalamualikum ,i have a problem ahmed bhai. will you please check my blog http://qayyumhackingarticles.blogspot.com and tell me whether my bookmarking icons are working correct or not. because my facebook icon is not showing the post but it is showing something else. please check it out.
ReplyDelete
Mohammad Mustafa AhmedzaiDec 7, 2011, 4:01:00 PM
@vanity
By default feedburner always displays the title of feed and its content. It wont show the same title for every post. If you are facing this issuse then go to your feedburner account and navigate to Optimize > Title/Description Burner, and see that this service is set to inactive.
I hope this helps.
@Faiz
You surely will pal always. :)
@SymbianFan
Most of your posts are short in length approximately less than 200 words. The Recent Google Panda penalty is applied on all sites with short content (fewer than 350 words)
I wish that your site may not have been effected by it but if this change happened this november then check your analytics and see if the traffic dropped between (OCT 11 till NOV)
Kindly write more of text and less of graphics buddy.
@syed
You are using church theme and this problem is occurring even with my theme. Kindly adopt this approach Post to facebook and twitter automatically
YOur a tag for post title is missing. Search for this:
<data:post.title/> and make sure it looks like this:
<a expr:href='data:post.link'><data:post.title/></a>
ReplyDelete
VanityDec 7, 2011, 6:07:00 PM
mohammad could you a do a post on it in detail plz, I didnt get it. all i can see is optimize> email branding..and this technique doesnt work
ReplyDelete
SymbianFanDec 9, 2011, 3:53:00 AM
Hi mohammad thanks for the a reply i will try to write more content from now on but my traffic was dropped from December 2 or 3 the day after i changed my template.
ReplyDelete
Syed Abdul QayyumDec 9, 2011, 3:13:00 PM
assalamualikum ahmed bhai, i have tried what you say but there many in my church theme. which one should i edit for my bookmarking icons. please help me, the facebook icon is not showing my post but it is showing some other thing.
ReplyDelete