search for: 100x100

Displaying 20 results from an estimated 74 matches for "100x100".

Did you mean: 100,100
2015 May 18
4
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
...what I'm seeing: ## In R, make a pdf pdf("a.pdf") plot(rnorm(99), col="red") dev.off() ## At Windows cmd command line where convert ## C:\Program Files\ImageMagick-6.8.8-Q16\convert.exe ## C:\Windows\System32\convert.exe convert -density 100x100 a.pdf a.png ## From R ## Unqualified references to convert find the 'wrong' one Sys.which("convert") ## convert ## "C:\\Windows\\system32\\convert.exe" system2("convert", "-density 100x100 a.pdf b.p...
2006 Feb 21
4
File_Column w/ Dynamic Sizing
I''m running file_column 0.3.1, and having a few problems... which are: - Uploading a 378x567 jpg, and using :magick => {:geometry => "100x100" }, my image ends up being 67x100 ? Is there a way to "force" the image to be the size you specify ? - My view has a drop-down of sizes, and I''m trying to pass in this size into :magick => {:geometry => SIZE_HERE}. I''ve tried replacing SIZE_HERE w...
2015 May 18
0
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
...f > pdf("a.pdf") > plot(rnorm(99), col="red") > dev.off() > > ## At Windows cmd command line > where convert > ## C:\Program Files\ImageMagick-6.8.8-Q16\convert.exe > ## C:\Windows\System32\convert.exe > convert -density 100x100 a.pdf a.png > > ## From R > > ## Unqualified references to convert find the 'wrong' one > Sys.which("convert") > ## convert > ## "C:\\Windows\\system32\\convert.exe" > system2("convert&qu...
2006 Dec 10
4
sample "n" random positions from a matrix
Hi there, I have a binary matrix (dim 100x100) filled with values 0 and 1. I need select a record "n" positions of that matrix when values are 1. How can I do that? Thanks for all, Miltinho Brazil --------------------------------- [[alternative HTML version deleted]]
2003 May 20
3
a quick Q about memory limit in R
Hello, there, I got this error when i tried to run " data.kr <- surf.gls(2, expcov, data, d=0.7);" "Error: cannot allocate vector of size 382890 Kb Execution halted" My data is 100x100 grid. the following is the summary of "data": > summary(data); x y z Min. : 1.00 Min. : 1.00 Min. :-1.0172 1st Qu.: 26.00 1st Qu.: 25.75 1st Qu.: 0.6550 Median : 51.00 Median : 50.50 Median : 0.9657 Mean : 50.99 Mean :...
2009 Nov 06
2
mini_magick - 2 clarifications
1. I have seen examples similar to the following: image = MiniMagick::Image.from_file("input.jpg") image.resize "100x100" image.write("output.jpg") I''m assuming that image.resize is a method. Is there any significance to the fact that the argument for that method is not enclosed in parenthesis while the other are? Examples seem to be consistent -- way too consistent for coincidence. 2....
2004 Nov 25
4
Avoiding for-loops
...etric matrix > my.ftn <- function(size_mtx, mtx) { + my.vector <- c() + for ( i in 1:size_mtx ) { + cat(".") + for ( j in 1:size_mtx ) { + if ( upper.tri(mtx)[i,j] ) { + my.vector <- c(my.vector, mtx[i,j]) + }}} + cat("\n") + } > # if I have a matrix, mtx.sym, of 100x100 > my.ftn(100, mtx.sym)
2011 Jun 26
2
Ordering a matrix based on cluster no
Hi All I have a symmetric matrix of genes ( 100x100 matrix). I also have a matrix (100x2) of two columns where column 1 has the gene names and column 2 has the cluster it belongs to (they are sorted and grouped based on the cluster no). I would like to order the rows and columns of the 100x 100 matrix such that the first n genes correspond to clust...
2006 Aug 04
1
Helper within a Helper? (IMAGE PLACEMENT)
...e this: <img src="/images/suggested/<%= suggested.title %>" height="100" width="100" /> But I want to stick within the ruby code and I''m trying this: <%= image_tag("/images/suggested/<%= suggested.title %>", size=> "100x100") %> but its not working. Anything i''m missing? Any better alternatives? Thanks! mason -- Posted via http://www.ruby-forum.com/.
2008 Apr 24
7
Please help. The error occurred while evaluating nil.name
...<td> <table width="25%"> <tr> <tr> <td><%= @results[1].name%> | <%= number_to_currency(@results[1].price)%></td> </tr> <tr> <td><%= link_to image_tag(@results[1].image_url, :size => ''100x100'', :border => "0")%></td> </tr> <tr> <td><%= h(truncate(@results[1].description, 150))%></td> </tr> </tr> </table> <td> </table> <%end%> This works fine, however when i replace the 1&...
2010 Sep 09
2
See what is inside a matrix
Hello everyone.. Is there any graphical tool to help me see what is inside a matrix? I have 100x100 dimensions matrix and as you already know as it does not fit on my screen R splits it into pieces. I would like to thank you in advance for your help Best Regards Alex [[alternative HTML version deleted]]
2015 Apr 17
0
[ANNOUNCE] x11perf 1.6.0
...b core line (Charter 10) -crgb24text Char in 30-char rgb core line (Charter 24) -crgbftext Char in 80-char rgb core line (Courier 12) -magpixwin10 Scale 5x5 from pixmap to 10x10 window -magpixwin100 Scale 50x50 from pixmap to 100x100 window -magpixwin500 Scale 250x250 from pixmap to 500x500 window -minpixwin10 Scale 10x10 from pixmap to 5x5 window -minpixwin100 Scale 100x100 from pixmap to 5x5 window -minpixwin500 Scale 500x500 from pixmap to 250x250 window...
2006 Jun 14
1
file column validates_format_of
...to solve these problems? (apart from a brain!) validates_presence_of :title, :file validates_format_of :file, :with => %r{.(gif|jpg|png)$}i, :message => "File must end with .jpg, .gif or .png" file_column :file, :magick => { :versions => { "thumb" => "100x100", "medium" => "640x480>" } } end -- Posted via http://www.ruby-forum.com/.
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, or of an option to image ( or a variation) which internally increases the grid. Any help welcome. Thanks i...
2006 Apr 11
1
problems with assign
...gth(list[[1]]) for (i in 1:n){ aux <- paste("p",i,sep="") assign(aux, as.matrix(read.table(list[[1]][i]))) } R creates the matrices p1,p2,...,pn. I want to manipulate the matrices p1,...,pn and create new matrices pp1,...,ppn. The dimensions of matrices ppi must be 100x100. So, I do the following: for (i in 1:n){ aux2 <- paste("pp",i,sep="") assign(aux2, array(0,dim=c(100,100))) } My question is the following: I want to assign to the matrix ppi[1,1] the value of pi[1,1] for i=1,...,n. How can I do it? For i=1, I try: assign(&quo...
2007 Mar 09
1
convert pixels into axis coordinates in R
Dear R users, I've two questions: 1) Does anybody have a clue how to convert pixel from a jpeg graphic (e.g. something like a square of 100x100 pxs) into axis coordinate values in R? / //2)// Is there any possibility to extend the locator function in a way that //locator( ) outputs all coordinates from a plot at once, without clicking on the graph? Thanks for any hints. Regards, P. Stencel /
2008 Jun 20
1
Howto reduce number of ticks in X, Y axis while still containing all the data
...plot 100 x 100 matrix data in a level plot. The problem I have is that the x/y -axis label in ticks are jumbled together. Thus I want X/Y axis to contain 10 ticks only, yet still plotting all the 100 data. Is there a way to do it? The code I have below doesn't work. __BEGIN__ # Corr contains 100x100 matrix corr <- cor(t(mat.data), method ="pearson") # Plot them levelplot(corr, main="PCC of Top-100 Genes", xlab="Gene", ylab="Gene", scale=list(y=list(tick.number=10)) # Doesn't work )...
2010 Oct 07
1
Quantile question
Simple Question I have 100x100 matrix and I want to calculte each row's 30,50% quantile ex) a=matrix(rnorm(10000),100,100) quantile(a[1,],c(0.3,0.5)) quantile(a[2,],c(0.3,0.5)) . . . . I want get results at once. so I try quantile(a[1:100,],c(0.3,0.5)) but I can get what I exactly want. How can I calculte that? --...
2006 Jul 26
2
largest acceptable lookup table in a package
...le is a square, upper triangular matrix consisting of logs of Stirling numbers calculated by Maple. As discussed on the List a few days ago (thanks again David!) Stirling numbers are computationally challenging; one needs exact integer arithmetic for very large integers for their calculation (a 100x100 table requires ~10^157) ] -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743
2005 Oct 14
0
ImageMagick helper
...class ProfileController < ApplicationController # ..SNIP.. class Photo < ApplicationController imagemagick_for ''/home/howardroberts/documents/pics/'' end end Then in views/profile/photo.rhtml I put: <%= imagemagick_tag ''image1.jpg'', ''resize(100x100)'' %> This produces the error: showing /app/views/profile/photo.rhtml where line #1 raised: undefined method `url_for_imagemagick'' for #<ProfileController:0xb7828b14> Extracted source (around line #1): 1: <%= imagemagick_tag ''image1.jpg'', ''r...