search for: prettier

Displaying 20 results from an estimated 202 matches for "prettier".

2003 Aug 13
1
The desire for prettier and cheaper images ...
This might be easy (but I didn't find an answer in the archives). I'm trying to make nice looking images (using image()). To make them look nice (not jagged), it usually takes me at least 100x100 points. This can be slow for frequent redraws. Is there a smarter (less point intensive) way? I was thinking in terms of hexabins, for example, which for much less jagged looking regions,
2011 Jul 05
0
Prettier axis labels when using log (or exp!!) scales in Lattice (follow up)
Hi all, my mail is a follow up of this thread http://tolstoy.newcastle.edu.au/R/e12/help/10/11/4172.html. I'm trying to alter the labels of an xyplot where the y variable is in the order of millions (cell counts) I've found plenty of examples on the R mailing list archives as well as in the book Lattice: Multivariate Data Visualization with R at chapter 8. Unfortunately all the
2010 Nov 06
1
Prettier axis labels when using log scales in Lattice
Hello, I am trying to alter the way in which lattice functions (specifically xyplot) print the axis labels when one uses the 'scales' parameter. I can obtain the effect I want by using scales=list(y=list(log=10, labels=expression(yvalues))) where yvalues are the values that would have been printed as the y-axis labels if the "labels" argument had not been present. To help
2006 Jul 17
6
DRY? Converting Boolean to Yes/No
I have a database column given as: t.column :change_address, :boolean The user interacts with this using a checkbox, but wants confirmations to read: Change address: Yes In an isolated case something like: @obj.change_address ? ''Yes'' : ''No'' Would work fine but this is peppered throughout scads of forms and boolean fields. The first step I took at DRYing
2013 Apr 25
2
Tests not aborting when appropriate
...its the loop. I also found a possible solution: using set -e just above that replaygain test for loop. That should exit the whole script if a single line returns an non-zero exit status, which makes it possible to let 'exit' abort not only the loop but the whole script. Maybe there are prettier solutions however?
2015 May 26
4
[LLVMdev] RFC: Separate machine IR from lib/CodeGen into lib/MIR
...to do this. > > Here's some more context: > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150518/278031.html <http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150518/278031.html> I have no objections, though I think lib/MachineIR would make a prettier bikeshed ;-) —Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150526/fd523047/attachment.html>
2013 Apr 25
2
Tests not aborting when appropriate
On 25-04-13 11:38, Erik de Castro Lopo wrote: > Lets see the patch first and then see if we can make it prettier. > > Erik Sure. Patch attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-set-x-to-stop-test_metaflac.sh.patch Type: text/x-patch Size: 0 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130425/87c6fe42/...
2005 Dec 22
2
Pretty Log Output on OS X
Howdy, I am using Apple''s Terminal and Rails 1.0 on Tiger. I am tailing my log files and it seems with one of these updates things changed a little. I see all these ''ESC'' codes all over. How can I make the output prettier? I''d rather not move to iTerm, not one of my faves. Cheers.
2016 Aug 12
2
A nicer HTML index page for llvm-cov
I've been working on adding code coverage support to my ELLCC project (http://ellcc.org) and I thought it would be nice to fun the index page of the HTML output of llvm-cov into something a little prettier and more useful. The initial result is here: http://ellcc.org/coverage/ If there is any interest, I'll submit the llvm-cov changes. -Rich
2007 May 22
2
Please, remind a function name
Sorry, I'm stuck. :) I am writing a function, which would fit either one linear model or another one, depending on its argument model.type. And I don't want to use several if's, because R allows doing it with much more beauty. That is I am looking for prettier alternative to the following AB2C<-function(a,b,model.type="S") { # or HK, and return NULL if this argument has any other value [ do some stuff] if(model.type=="S") model<-lm( [s.model formula] ) else if (model.type == "HK") model<-lm([hk.model formula])...
2011 Jan 26
2
Extracting the terms from an rpart object
...ation on it). But in general, such a method for rpart will also need to handle a "." case (see fit2) Here are two simple examples: fit1 <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) fit1$call fit2 <- rpart(Kyphosis ~ ., data=kyphosis) fit2$call Is there anything "prettier" then using string manipulation? Thanks. ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---...
2009 Sep 05
8
Color index in image function
...lor index in?image function,?such as from topo.colors(n) and etc. but still never found it. For instance, from the help menu. ########################################### # Volcano data visualized as matrix. Need to transpose and flip # matrix horizontally. image(t(volcano)[ncol(volcano):1,]) # A prettier display of the volcano x <- 10*(1:nrow(volcano)) y <- 10*(1:ncol(volcano)) image(x, y, volcano, col = terrain.colors(100), axes = FALSE) contour(x, y, volcano, levels = seq(90, 200, by = 5), ??????? add = TRUE, col = "peru") axis(1, at = seq(100, 800, by = 100)) axis(2, at = seq(100...
2010 Apr 20
5
Spring Cleaning
Right now in my view, I have a whole HUGE clump of <% if current_user %> and then <% if current_admin %> and then <% if current_teacher %> and then all that other stuff in my view. I have a ginourmous chunk of if and else statements in my views... is there a way to make it prettier? The if and else''s almost all have the same functions, expect for some minor changes. Like this- <% if current_user %> <%= link_to "Create a new BLAH", new_blah_path %> <% end %> <% if current_admin %> <%= link_to "Create a new ADMINBLAH",...
2008 Oct 06
2
R 2.7.2 and Ubuntu / tcltk issues
...uld you have a look? 'library(tclrk)' does fail for me too at work (using > 2.7.2. on ubunut) but I am currently using the Cygwin X11 connection and > having all sorts of issues with that. We did test this post tlc/tk 8.5 > switch as I recall all/some of us commenting on how much prettier the new 8.5 > 'themed' widgets look. I did run at least one or two demos(). > > Also, I tossed up 2.8.0 beta as of today into Debian unstable before I left > for work. I don't think you need to release that to Ubuntu yet, but you may > just want to build once or twice be...
2009 Sep 11
2
HowTos/PXE/PXE_Setup add?
Anybody mind if I add explanations to HowTos/PXE/PXE_Setup and maybe make it a little prettier? -------------------- Ed Heron
2010 Dec 05
1
Converting numbers into words
..." to "Two"? -- And what if the number is one? print(sum(desk$deskchoice=='bookdrop'), c('person','persons')[as.numeric(sum(desk$deskchoice=='bookdrop')!=1)+1], 'used the book drop. Everyone else interacted with a staff member.') Is there a prettier way of choosing between "person" and "persons"? -- Thanks Tom
2007 Oct 08
1
extlinux graphical menu with function keys
...his topic is documented, please let # me know. # # Any help would be greatly appreciated. As it happens, I just finished a (hopefully less crufty) patch to accomplish exactly what you're after. It's not quite as "pretty" on the screen as SuSE's stuff, but it's much "prettier" code and HUGELY easier to use. (I wasted several hours trying to make SuSE's stuff work on my live-CD...) http://www.valleyhold.org/~gordons/syslinux-optmenus.diff The message I sent about it should be hitting the list archive soon, and the patch also updates README.menu with the new k...
2006 Nov 30
1
Compiz and list options
...when having list options, you have to parse all windows on the screen and update their properties... I find this so ugly. In fact, pluginSetScreenOption() give a pointer on the first element of the list (CompOptionValue). You don't know what list element has changed ! I think it should be prettier to give a pointer on the first element of the list at plugin initialisation but give a pointer on the "just changed" element of the list in case of modification. It will break some plugins ... Cedric ps: sorry for my english
2010 Dec 12
1
In Test/Unit Dir.glob is Rails root but to require a file must assume "Rails_root/test/"
...begin the included file''s path from within the test directory. This: integration/helpers/file.rb And not test/integration/helpers/file.rb I assume this is due somehow to Test/Unit running and having its own assumed root directory in "test/" and not Rails root. So is there a prettier method of doing this" Dir.glob("test/integration/helpers/*.rb").each do |helper_file| require helper_file.gsub(/test\//, '''') # for some reason the Dir.glob starts at rails root but when requiring, it starts within test/* end -- You received this messag...
2012 Apr 28
1
Session IDs
...imap(tss,<rNuHLL6+jgB/AAAB>): Info: Disconnected: Logged out in=8 out=369 The last line requires a modified mail_log_prefix, I wasn't planning on changing its default. I'm mainly wondering: 1) Does this change break someone's auth log line parsing? 2) Does the auth prefix look prettier with or without <> around session id? :) 3) Anything else I should do about this now that I'm changing it anyway?