limits

how to change x-axis limits ggplot2 r

陌路散爱 提交于 2019-12-02 22:33:56
问题 I would like to set limit for x-axis using ggplot bar plot. The whole plot is ok, but when I use ylim(1,6) (these are limits what I need) the bars disappear. Data: var.A <- as.numeric(c(1:13)) var.B <- c(4.351833, 2.938000, 4.726465, 3.747162, 3.720737, 4.297117, 4.304500, 4.061277, 4.595236, 4.105444, 3.701684, 3.523563, 4.170000) df <- data.frame(var.A,var.B) Ggplot code: ggplot(df, aes(x=factor(var.A), y=var.B)) + geom_bar(position=position_dodge(), stat="identity", fill="#fff68f", colour=

mongod, mac os x - rlimits warning [closed]

六眼飞鱼酱① 提交于 2019-12-02 13:51:58
I've been using mongo on my mac os x 10.8 and suddenly yesterday at my logs appeared this warning (and when starting shell it's present too) - WARNING: soft rlimits too low. Number of files is 256, should be at least 1000 Who could explain, what does it mean? And should I increase number of rlimits somehow? on mac, you probably using mongodb for development purpose. If yes, then you can ignore this. 来源: https://stackoverflow.com/questions/16621763/mongod-mac-os-x-rlimits-warning

how to change x-axis limits ggplot2 r

可紊 提交于 2019-12-02 13:04:42
I would like to set limit for x-axis using ggplot bar plot. The whole plot is ok, but when I use ylim(1,6) (these are limits what I need) the bars disappear. Data: var.A <- as.numeric(c(1:13)) var.B <- c(4.351833, 2.938000, 4.726465, 3.747162, 3.720737, 4.297117, 4.304500, 4.061277, 4.595236, 4.105444, 3.701684, 3.523563, 4.170000) df <- data.frame(var.A,var.B) Ggplot code: ggplot(df, aes(x=factor(var.A), y=var.B)) + geom_bar(position=position_dodge(), stat="identity", fill="#fff68f", colour="darkgrey", width = 0.4) + coord_flip()+ xlab("") + ylab("") + scale_x_discrete(labels=c("aaaaaaa aaaaa

MySQL REPLACE : How replace all occurrences of a char in every distinct substring delimited by the same head and tail

妖精的绣舞 提交于 2019-12-02 06:24:36
问题 I have this string: <p><span><b>C10373 - FIAT GROUP AUTOMOBILES/RAMO DI AZIENDA DI KUEHNE + NAGEL</b></span> <p>la somma pari a € 400+IVA per l’attività</p> <p>TELE+ A 20.000 LIRE AL MESE </p> <li>a mano o via fax al numero +39.00.0.0.0.00.</li> <p>Il punteggio base sarà incrementato di un <strong>+ </strong>al ricorrere di ciascuna delle seguenti condizioni:</p> <li><a href="/aaa/gare/CIGZB81E5568D+RDO1560277+Obblighi+contattuali-signed.pdf" title="">Obblighi contrattuali</a></li> <li><a

MySQL REPLACE : How replace all occurrences of a char in every distinct substring delimited by the same head and tail

会有一股神秘感。 提交于 2019-12-02 03:41:43
I have this string: <p><span><b>C10373 - FIAT GROUP AUTOMOBILES/RAMO DI AZIENDA DI KUEHNE + NAGEL</b></span> <p>la somma pari a € 400+IVA per l’attività</p> <p>TELE+ A 20.000 LIRE AL MESE </p> <li>a mano o via fax al numero +39.00.0.0.0.00.</li> <p>Il punteggio base sarà incrementato di un <strong>+ </strong>al ricorrere di ciascuna delle seguenti condizioni:</p> <li><a href="/aaa/gare/CIGZB81E5568D+RDO1560277+Obblighi+contattuali-signed.pdf" title="">Obblighi contrattuali</a></li> <li><a href="/aaa/gare/CIGZB81E5568D+RDO1560277+Obblighi+contattuali-signed.pdf" title="">Obblighi contrattuali<

Enable PAM configuration (limits.conf) for a running daemon

我们两清 提交于 2019-12-01 20:24:49
I'm currently attempting to develop a sandbox using Docker. Docker spawns process through a running daemon, and I am having a great deal of trouble enabling the limits set forth in the limits.conf file such that they apply to the daemon. Specifically, I am running a forkbomb such that the daemon is the process that spawns all the new processes. The nproc limitation I placed on the user making this call doesn't seemed to get applied and I for the life of me can not figure out how to make it work. I'm quiet positive it will be as simple as adding the correct file to /etc/pam.d/, but I'm not

Is there a size limit on a text file? [duplicate]

半世苍凉 提交于 2019-12-01 15:16:46
Duplicate of: Is there an upper limit on .txt file size? What is the limit to how much you can write to a text file? Any help would be appreciated. There is no limit, other than the size of your disk, and your file system limitations on a file. For example, file size limits: NTFS: 16 TiB - 64 KiB Ext4: 16 TBs FAT32: 4GB - 1 On disk, there is no difference between a text file and any other type of file. They all just store bytes of data. The only conceptual difference when writing to a binary file and a text file is that when a write operation is performed on a text file, a \n character may be

Where are the limits for Qt types?

喜欢而已 提交于 2019-12-01 15:07:08
Regularly, I could reference limits.h to see what the max is for a certain type, like an int or long. In Qt, there are types like qlonglong. Is there a header file and/or documentation that can be used in a similar way to manually or programmatically reference the limits of these types? There's a high likelihood the Qt types distill down to one of the basic types for which numeric_limits are defined. Have you tried calling e.g., std::numeric_limits<qlonglong>::max() ? As MSalters points out, too, if the types are not builtin numeric_limits can still be specialized for them. If that were the

Is there a size limit on a text file? [duplicate]

隐身守侯 提交于 2019-12-01 14:15:18
问题 This question already has answers here : Closed 10 years ago . Duplicate of: Is there an upper limit on .txt file size? What is the limit to how much you can write to a text file? Any help would be appreciated. 回答1: There is no limit, other than the size of your disk, and your file system limitations on a file. For example, file size limits: NTFS: 16 TiB - 64 KiB Ext4: 16 TBs FAT32: 4GB - 1 On disk, there is no difference between a text file and any other type of file. They all just store

A limit clarification for the new Firestore

半腔热情 提交于 2019-11-30 19:30:22
So in the limits section ( https://firebase.google.com/docs/firestore/quotas ) of the new Firestore product from Firebase it says: Maximum write rate to a collection in which documents contain sequential values in an indexed field: 500 per second We're pretty confused as to what that actually entails. If we have, say, a root-level collection called users with 10 million entries in it, will this rate affect this collection in such a way, so only 500 users can update their data in any given second? Can anyone clarify? Sorry for the confusion; an example might help. If your user documents