similar to: Need help to draw a plot

Displaying 20 results from an estimated 1000 matches similar to: "Need help to draw a plot"

2017 Feb 03
2
How to get password expiration?
Actually is there a way to show it more like a timestamp. It is hard to compute days left with a date format like that. I guess I could use date to do the conversion but I was wondering if there is a cleaner way On Fri, Feb 3, 2017 at 8:51 AM, Rowland Penny via samba < samba at lists.samba.org> wrote: > On Fri, 3 Feb 2017 07:44:39 -0700 > Jeff Sadowski via samba <samba at
2017 Feb 03
7
How to get password expiration?
This seems to work for maxPwdAge ldapsearch -LLL -Q -s base -h ad.mydomain.tld -b dc=ad,dc=mydomain,dc=tld maxPwdAge now I just need to query a users pwdLastSetq I tried the commands above but am not getting anything. I tried looking at the ungrepped output but I don't see how to link the pwdLastSet with any user. I get a long list. I think I'm looking for dn: and a matching pwdLastSet?
2012 Jul 20
1
fitting Ornstein-Uhlenbeck process by MAXIMUM LIKELYHOOD
Dear friends i am trying to fit an Ornstein-Uhlenbeck process by MAXIMUM LIKELYHOOD method. i found these formulas on http://www.sitmo.com/article/calibrating-the-ornstein-uhlenbeck-model/ this is the mean-reverting process http://r.789695.n4.nabble.com/file/n4637271/process.txt process.txt and this is the script that i am using....... ouFit.ML=function(spread) { n=length(spread)
2009 Aug 27
2
setting par(srt) according to plot aspect ratio
How can I look up the aspect ratio of a plot, so I can use that to correctly adjust the angle of text which is supposed to be parallel to a line in the plot? The following example code works for a 1:1 aspect ratio, but puts the text at the wrong angle if the plot region is short and wide or tall and narrow. I can't find a par() component containing the plot aspect ratio. It will be for
2013 Apr 05
1
parallel: Race-condition concern regarding graphics devices in a multi-thread environment
Hi, I'm trying to figure out how to safely make sure that I close the same graphics device that I opened earlier in a thread (and not one opened by a parallel thread). In a *single-thread* environment, one can do the following to open and close a device: makePlot <- function(i) { filename <- sprintf("foo%d.png", i); png(filename); idx <- dev.cur();
2010 Aug 21
1
R-level expansion of Rplot%03d.png
Dear list, I'm using the brew package to generate a report containing various plots. I wrote a function that creates a plot in png and pdf formats, and outputs a suitable text string to insert the file in the final document using the asciidoc syntax, <% tmp <- 1 makePlot = function(p, name=paste("tmp",tmp,sep=""), width=300) {
2008 Nov 07
1
determining plot location in lattice
Hi, I'm dealing with a lattice plot inserted into a tk widget and would like to know when a user has clicked on the plot area of a plot (i.e. inside the axes). For example, library(tkrplot) library(lattice) tt <- tktoplevel() makePlot <- function() print(xyplot(1 ~ 1)) printCoords <- function(x, y) print(c(x, y)) img <- tkrplot(tt, makePlot) tkbind(img, "<1>",
2017 Feb 03
0
How to get password expiration?
On Fri, 3 Feb 2017 07:44:39 -0700 Jeff Sadowski via samba <samba at lists.samba.org> wrote: > This seems to work for maxPwdAge > > ldapsearch -LLL -Q -s base -h ad.mydomain.tld -b > dc=ad,dc=mydomain,dc=tld maxPwdAge > > now I just need to query a users pwdLastSetq > I tried the commands above but am not getting anything. I tried > looking at the ungrepped output
2017 Feb 03
0
How to get password expiration?
Jeff, you can ask ldapsearch to filter for you rather than using grep. Just add "PwdLastSet" (no matter the case) after your ldapsearch : ldapsearch -h ad.mydomain.tld -b 'dc=ad,dc=mydomain,dc=tld' -D '*@ad.mydomain.tld' -U myusername PwdLastSet This will retrieve only DN + asked attributes. Not all user have a password set so they should have a PwdLastSet. Anyway
2009 Feb 27
1
levelplot help needed
Hi there, I'm looking for someone who can give me some hints how to make a nice levelplot. As an example, I have the following code: # create some example data # -------------------------------------- xl <- 4 yl <- 10 my.data <- sapply(1:xl, FUN = function(x) { rnorm( yl, mean = x) }) x_label <- rep(c("X Label 1", "X Label 2", "X Label 3", "X
2017 Feb 02
2
How to get password expiration?
On 02/02/2017 15:17, mathias dufresne wrote: > So, back to ldapsearch -Y GSSAPI (if your users generate kerberos > ticket at connection time) to retrieve LDAP attribute PwdLastSet. It's > not an UNIX timestamp, it should be called LDAP time stamp or 18-digit > LDAP timestamp... Aside: it's a Microsoft Win32 FILETIME. (The LDAP standard uses ISO times) pwdLastSet
2009 May 22
2
Scope problem?
I've just spent today trying to fix a Heisenbug... this function returns a linear interpolator function: interpOne <- function(xl,yl){ f = function(data){ t = (data-min(xl))/(max(xl)-min(xl)) return(min(yl)+t*(max(yl)-min(yl))) } return(f) } > k=interpOne(c(0,1),c(4,5)) > k(0.5) [1] 4.5 and this function uses the above to return a function that returns a piece-wise
2017 Feb 03
1
How to get password expiration?
Winner this worked wonderfully On Fri, Feb 3, 2017 at 8:51 AM, Rowland Penny via samba < samba at lists.samba.org> wrote: > On Fri, 3 Feb 2017 07:44:39 -0700 > Jeff Sadowski via samba <samba at lists.samba.org> wrote: > > > This seems to work for maxPwdAge > > > > ldapsearch -LLL -Q -s base -h ad.mydomain.tld -b > > dc=ad,dc=mydomain,dc=tld maxPwdAge
2017 Feb 03
0
How to get password expiration?
Sorry that was easy enough let seconds=`date -d "${EXPDATE}" "+%s"`-`date "+%s"` let days=$seconds/86400 echo $days > /na/homes/$1/.pwd_exp On Fri, Feb 3, 2017 at 11:15 AM, Jeff Sadowski <jeff.sadowski at gmail.com> wrote: > Actually is there a way to show it more like a timestamp. It is hard to > compute days left with a date format like that. I
2009 Apr 28
1
colored PCA biplot
Hi- I'm trying to make my PCA (princomp) colored. In my csv excel sheet, I have the first column numbered according to the groupings I want to assign to the PCA. I've played around with trying to set this first column as the color vector, but haven't had any luck. Any suggestions? Thanks, Hillary [[alternative HTML version deleted]]
2001 Nov 21
2
distances from points to line
Dear all, I have discovered that there are many things that I used to do in my GIS which are easily done directly in R, for example calculating interpoint distances using geoR and pick out points inside a polygon using splancs. I now wonder, is there a function to create a line object like a watercourse and then calculate the distances between many points in space and this line? I couldn't
2002 Mar 13
2
barplots with std-error
hi, i am trying to generate nice barplots with std-errors. do i really have to generate the std-errors myself by the segments() command ? thanks for help, jan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2017 Feb 03
2
How to get password expiration?
On my ubuntu machines I added auth required pam_exec.so /scripts/password_expire.sh to the beginning of /etc/pam.d/common-auth it looks pretty similar to what I did below. In the /etc/bash.bashrc I added a check to wait for the file to be less than 1 second old before looking at it. break out after 5 seconds in case something failed or is taking longer then it should. now people get
2007 Jul 13
2
trouble compiling Hmisc package
Hi: We're trying to install the Hmisc package on a Solaris 9 machine. Here's what we get: R CMD INSTALL /usr/local/srctree/Hmisc_3.4-2.tar.gz * Installing to library '/usr/local/lib/R/library' * Installing *source* package 'Hmisc' ... ** libs g95 -fPIC -g -O2 -c cidxcn.f -o cidxcn.o g95 -fPIC -g -O2 -c cidxcp.f -o cidxcp.o g95 -fPIC -g -O2 -c hoeffd.f -o
2001 Sep 10
1
data format for ppinit
After installation of R into VineLinux2.1.5, I started to enjoy statistics following some instruction, and found it very useful. One of my main purpose to use R is to try spatial statistics. Since library named "spatial" has already installed, I just tried ... > library(spatial) > towns <- ppinit(test.dat) ------- test.dat ------- x,y 4,7 5,7 5,8 5,9 6,7 6,8 6,9 7,8