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': '1326534957591880064', 'body': 'nice post.......mera ek sawal h app sy kia google adsense bnaty wqt payee name cnic k mutabiq na likho short lik do lekin pta baad mn chle k name to pora likhna tha kia ab pin issue s phle or 10 dollar s phle payee name change kr skta hu in pakistan???abhe pin issue nhe hoa aur 10 dollar bhe poray nhe hoay hn..mgr name short likha gea h pta nhe tha kia change kr skta hu???mtlb complete name likh skta hun? ', 'timestamp': '1458213047022', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458213047022#c1326534957591880064', 'author': 'name': 'Ayyan Khan', 'avatarUrl': '//lh3.googleusercontent.com/-lmgzOqf9xRM/AAAAAAAAAAI/AAAAAAAAABA/jxnKyjzyQiU/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00812419203062325426', 'displayTime': 'Mar 17, 2016, 4:10:00 PM', 'deleteclass': 'item-control blog-admin pid-2286735', 'id': '300732659829681705', 'body': 'Assalam-O-Alaikum!x3cbr /x3eItx26#39;s a nice plugin indeed. I want to ask you that how do I install the jquery part just above x26lt;/bodyx26gt; in Genesis Child Theme. I have added it using Genesisx26#39; Theme Settings but unfortunately itx26#39;s not working (Counter and Animation effects are not working). Waiting for your reply.x3cbr /x3eRegards x3cbr /x3eUsama Fayyaz.', 'timestamp': '1458325528350', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458325528350#c300732659829681705', 'author': 'name': 'Usama Fayyaz', 'avatarUrl': '//lh3.googleusercontent.com/-pSYANifXQHs/AAAAAAAAAAI/AAAAAAAAABU/I-38UnUA-gE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01139060644329407336', 'displayTime': 'Mar 18, 2016, 11:25:00 PM', 'deleteclass': 'item-control blog-admin pid-910541940', 'id': '6720400190406712256', 'body': 'AoA Mustafa Bhai :) x3cbr /x3eThank you so much Mustafa Bhai :) ', 'timestamp': '1458363643424', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458363643424#c6720400190406712256', 'author': 'name': 'Muhammad Abid', 'avatarUrl': '//lh6.googleusercontent.com/-ibHUaiBLBqE/AAAAAAAAAAI/AAAAAAAABOo/Id0shQ6OVhY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07325548755937540366', 'displayTime': 'Mar 19, 2016, 10:00:00 AM', 'deleteclass': 'item-control blog-admin pid-1055247077', 'id': '3273510663413411408', 'body': 'Lookin cool widget i have installed it on my blog https://aoablogger.blogspot.com', 'timestamp': '1458460145306', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458460145306#c3273510663413411408', 'author': 'name': 'Admin', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMdOqUTlGRah3zMpuu8i0MD4RcdrhykgpUFRa_EL5RLL868Vy8X4IjFCnajbNCkgwf8l9zar9jgAZtcs5tDeD_jeVEcUmh53NXkKemPj2hNVLI0HSCfaHx7sIPjtjZE8p8KXZSpfnmdik/s35/icontexto-user-web20-blogger.png', 'profileUrl': 'https://www.blogger.com/profile/01250944113982427686', 'displayTime': 'Mar 20, 2016, 12:49:00 PM', 'deleteclass': 'item-control blog-admin pid-554880013', 'id': '1881977262899906302', 'parentId': '300732659829681705', 'body': 'W.salam buddyx3cbr /x3ex3cbr /x3eFor Gensis install the simple hooks plugin buddy. It will give easy access to different locations/filters of your blog. ', 'timestamp': '1458471976394', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458471976394#c1881977262899906302', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAQeo/f7nmpa1_dQ0/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Mar 20, 2016, 4:06:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '6308899950980812550', 'parentId': '6720400190406712256', 'body': 'W.salam abid!x3cbr /x3ex3cbr /x3eBuddy do install this plugin and let me know. x3d)x3cbr /x3ex3cbr /x3eAbout your blog post, buddy please remind me on monday by shooting me an email. ', 'timestamp': '1458472069616', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458472069616#c6308899950980812550', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAQeo/f7nmpa1_dQ0/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Mar 20, 2016, 4:07:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '4146458830200101380', 'parentId': '1326534957591880064', 'body': 'Of course you can change your name anytime you want in AdSense Settings. Your name must match the name on your national Id card. ', 'timestamp': '1458472203848', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458472203848#c4146458830200101380', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAQeo/f7nmpa1_dQ0/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Mar 20, 2016, 4:10:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '4360369326586920876', 'parentId': '300732659829681705', 'body': '@Mohammadx3cbr /x3eI have also tried using Simple hooks plugin but still the widget was not working. I donx26#39;t know whatx26#39;s the problem but I have figured out the solution.x3cbr /x3eFirstly,in jQuery code I replaced all x26#39;$x26#39; sign with x26#39;jQueryx26#39; and made a separate .js file. Then I imported that file using wp_enqueue_script function. I added rest of the jQuery (Plugin settings and Animation Setting) in genesis theme settings under footer scripts. Followed rest of the tutorial and widget started working. Thanks for this brilliant widget.', 'timestamp': '1458473877756', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458473877756#c4360369326586920876', 'author': 'name': 'Usama Fayyaz', 'avatarUrl': '//lh3.googleusercontent.com/-pSYANifXQHs/AAAAAAAAAAI/AAAAAAAAABU/I-38UnUA-gE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01139060644329407336', 'displayTime': 'Mar 20, 2016, 4:37:00 PM', 'deleteclass': 'item-control blog-admin pid-910541940', 'id': '3404458089973315803', 'parentId': '6720400190406712256', 'body': 'Mustafa Bhai Social Share count is not working :( x3cbr /x3eplease check :)', 'timestamp': '1458480171663', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458480171663#c3404458089973315803', 'author': 'name': 'Muhammad Abid', 'avatarUrl': '//lh6.googleusercontent.com/-ibHUaiBLBqE/AAAAAAAAAAI/AAAAAAAABOo/Id0shQ6OVhY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07325548755937540366', 'displayTime': 'Mar 20, 2016, 6:22:00 PM', 'deleteclass': 'item-control blog-admin pid-1055247077', 'id': '1988774243692523063', 'parentId': '6720400190406712256', 'body': 'Mustafa Bhai Social Share count is not working :( x3cbr /x3eplease check :)', 'timestamp': '1458480413671', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458480413671#c1988774243692523063', 'author': 'name': 'Muhammad Abid', 'avatarUrl': '//lh6.googleusercontent.com/-ibHUaiBLBqE/AAAAAAAAAAI/AAAAAAAABOo/Id0shQ6OVhY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07325548755937540366', 'displayTime': 'Mar 20, 2016, 6:26:00 PM', 'deleteclass': 'item-control blog-admin pid-1055247077', 'id': '3852050142877524935', 'parentId': '6720400190406712256', 'body': 'Now Working Perfectly Check :) x26gt;x26gt; x3cbr /x3ehttp://acupofblog.comx3cbr /x3eNo Doubt Best social sharing plugin for wordpress (y)', 'timestamp': '1458883791393', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1458883791393#c3852050142877524935', 'author': 'name': 'Muhammad Abid', 'avatarUrl': '//lh6.googleusercontent.com/-ibHUaiBLBqE/AAAAAAAAAAI/AAAAAAAABOo/Id0shQ6OVhY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07325548755937540366', 'displayTime': 'Mar 25, 2016, 10:29:00 AM', 'deleteclass': 'item-control blog-admin pid-1055247077', 'id': '1398181435561001336', 'body': 'it supports site specific plugin ??', 'timestamp': '1459775137936', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1459775137936#c1398181435561001336', 'author': 'name': 'Santhosh veer', 'avatarUrl': '//lh6.googleusercontent.com/-VuzTVdOF4FI/AAAAAAAAAAI/AAAAAAAAEEc/WjT1pt2P5k8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01367260203175133532', 'displayTime': 'Apr 4, 2016, 6:05:00 PM', 'deleteclass': 'item-control blog-admin pid-2122798075', 'id': '6158094560576024170', 'body': 'hello Mustafa bro. jab ma akhri code functions.php ma add krta houn tu bottons posts ma shown nhi hota oor logo ka uppar show hota ha,Plz Help i am waiting for reply...x3cbr /x3e', 'timestamp': '1467890215630', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1467890215630#c6158094560576024170', 'author': 'name': 'Khalil Ahmad', 'avatarUrl': '//lh5.googleusercontent.com/-c9bOfEJ2A6s/AAAAAAAAAAI/AAAAAAAAAA4/Yudh1Dq29jc/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/14754939813967342257', 'displayTime': 'Jul 7, 2016, 4:16:00 PM', 'deleteclass': 'item-control blog-admin pid-1339046221', 'id': '997684125258109819', 'body': 'For Wordpress userx26#39;s i convert this in to wp plugin just install and activate :-) x3ca hrefx3dx22https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpress/archive/master.zipx22 relx3dx22nofollowx22x3eDownload pluginx3c/ax3ex3cbr /x3ex3cbr /x3eplugin repository - https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpressx3cbr /x3ex3cbr /x3ethanks to Mohammad Mustafa Ahmedzai x3cbr /x3eSanthoshveer x3ca hrefx3dx22http://www.allwebtuts.comx22 relx3dx22nofollowx22x3eAllwebtuts.comx3c/ax3e', 'timestamp': '1469449447268', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1469449447268#c997684125258109819', 'author': 'name': 'Santhosh veer', 'avatarUrl': '//lh6.googleusercontent.com/-VuzTVdOF4FI/AAAAAAAAAAI/AAAAAAAAEEc/WjT1pt2P5k8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01367260203175133532', 'displayTime': 'Jul 25, 2016, 5:24:00 PM', 'deleteclass': 'item-control blog-admin pid-2122798075', 'id': '754616267690138513', 'parentId': '300732659829681705', 'body': 'For Wordpress userx26#39;s i convert this in to wp plugin just install and activate :-) x3ca hrefx3dx22https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpress/archive/master.zipx22 relx3dx22nofollowx22x3eDownload pluginx3c/ax3ex3cbr /x3ex3cbr /x3eplugin repository - https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpress', 'timestamp': '1469449504925', 'permalink': 'https://www.mybloggertricks.com/2016/03/wordpress-jumbo-share-counters-plugin.html?showCommentx3d1469449504925#c754616267690138513', 'author': 'name': 'Santhosh veer', 'avatarUrl': '//lh6.googleusercontent.com/-VuzTVdOF4FI/AAAAAAAAAAI/AAAAAAAAEEc/WjT1pt2P5k8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01367260203175133532', 'displayTime': 'Jul 25, 2016, 5:25:00 PM', 'deleteclass': 'item-control blog-admin pid-2122798075'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '9170631272457905819', 'feed': 'https://www.mybloggertricks.com/feeds/9170631272457905819/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
Ayyan KhanMar 17, 2016, 4:10:00 PM
nice post.......mera ek sawal h app sy kia google adsense bnaty wqt payee name cnic k mutabiq na likho short lik do lekin pta baad mn chle k name to pora likhna tha kia ab pin issue s phle or 10 dollar s phle payee name change kr skta hu in pakistan???abhe pin issue nhe hoa aur 10 dollar bhe poray nhe hoay hn..mgr name short likha gea h pta nhe tha kia change kr skta hu???mtlb complete name likh skta hun?
ReplyDelete
Replies
Mohammad Mustafa AhmedzaiMar 20, 2016, 4:10:00 PM
Of course you can change your name anytime you want in AdSense Settings. Your name must match the name on your national Id card.
Delete
Usama FayyazMar 18, 2016, 11:25:00 PM
Assalam-O-Alaikum!
It's a nice plugin indeed. I want to ask you that how do I install the jquery part just above </body> in Genesis Child Theme. I have added it using Genesis' Theme Settings but unfortunately it's not working (Counter and Animation effects are not working). Waiting for your reply.
Regards
Usama Fayyaz.
ReplyDelete
Replies
Mohammad Mustafa AhmedzaiMar 20, 2016, 4:06:00 PM
W.salam buddy
For Gensis install the simple hooks plugin buddy. It will give easy access to different locations/filters of your blog.
Delete
Usama FayyazMar 20, 2016, 4:37:00 PM
@Mohammad
I have also tried using Simple hooks plugin but still the widget was not working. I don't know what's the problem but I have figured out the solution.
Firstly,in jQuery code I replaced all '$' sign with 'jQuery' and made a separate .js file. Then I imported that file using wp_enqueue_script function. I added rest of the jQuery (Plugin settings and Animation Setting) in genesis theme settings under footer scripts. Followed rest of the tutorial and widget started working. Thanks for this brilliant widget.
Delete
Santhosh veerJul 25, 2016, 5:25:00 PM
For Wordpress user's i convert this in to wp plugin just install and activate :-) Download plugin
plugin repository - https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpress
Delete
Muhammad AbidMar 19, 2016, 10:00:00 AM
AoA Mustafa Bhai :)
Thank you so much Mustafa Bhai :)
ReplyDelete
Replies
Mohammad Mustafa AhmedzaiMar 20, 2016, 4:07:00 PM
W.salam abid!
Buddy do install this plugin and let me know. =)
About your blog post, buddy please remind me on monday by shooting me an email.
Delete
Muhammad AbidMar 20, 2016, 6:22:00 PM
Mustafa Bhai Social Share count is not working :(
please check :)
Delete
Muhammad AbidMar 20, 2016, 6:26:00 PM
Mustafa Bhai Social Share count is not working :(
please check :)
Delete
Muhammad AbidMar 25, 2016, 10:29:00 AM
Now Working Perfectly Check :) >>
http://acupofblog.com
No Doubt Best social sharing plugin for wordpress (y)
Delete
AdminMar 20, 2016, 12:49:00 PM
Lookin cool widget i have installed it on my blog https://aoablogger.blogspot.com
ReplyDelete
Santhosh veerApr 4, 2016, 6:05:00 PM
it supports site specific plugin ??
ReplyDelete
Khalil AhmadJul 7, 2016, 4:16:00 PM
hello Mustafa bro. jab ma akhri code functions.php ma add krta houn tu bottons posts ma shown nhi hota oor logo ka uppar show hota ha,Plz Help i am waiting for reply...
ReplyDelete
Santhosh veerJul 25, 2016, 5:24:00 PM
For Wordpress user's i convert this in to wp plugin just install and activate :-) Download plugin
plugin repository - https://github.com/mskian/MBT-Horizontal-Jumbo-Share-Counters-Plugin-for-Wordpress
thanks to Mohammad Mustafa Ahmedzai
Santhoshveer Allwebtuts.com
ReplyDelete