Displaying 20 results from an estimated 1100 matches similar to: "panel as child of grid on Windows"
2007 May 11
0
[ wxruby-Bugs-10759 ] Wx::AuiManager.get_all_panes can not get all pane.
Bugs item #10759, was opened at 2007-05-11 04:09
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=10759&group_id=35
Category: Incorrect behavior
Group: v0.4
Status: Open
Resolution: None
Priority: 3
Submitted By: Chen Peng (auguusstt)
Assigned to: Kevin Smith (qualitycode)
Summary: Wx::AuiManager.get_all_panes can not get all pane.
Initial Comment:
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The
problem I have is that the panel, and thus, the grid does not resize
when the window width is expanded.
Also, I would like the entire grid to be displayed without the
horizontal scroll bar. How can I force this behavior?
Please tell me if I am going about this incorrectly. I am just getting
familar with wxRuby and any
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2011 Nov 05
1
[YUM] - Issue on package removal order on CentOS 5
Hello,
I post here because I have an embarassing issue considering the yum
version provided with CentOS 5.
I am trying to package an application for CentOS. So I wrote my own
specfile which is composed of declaration of various packages (main
application and plugins for this applications).
In that the configuration, the plugins RPM depends on the main
application RPM because. Moreover, in
2007 Jan 04
3
grid control example doesn''t work on osx.4
Hi,
I am trying to use wxruby2-preview (0.0.38) on my intel macbook
running os10.4.8. I am having a beast of a time running the examples
in the tutorials. The super basic frame example worked but the
simple grid tutorial bombs with the following message:
------
[WhiteGhost:~/tmp/wxStff] hjw$ ruby ./grid.rb
/usr/local/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.38-i686-
2007 Jul 23
11
Memory problem with GridCell*Editor
Alex,
I was getting the following crashes when editing cells in a grid:
./init.rb:1072:in `main_loop'': undefined method `begin_edit'' for
"_p_wxEvent":String (NoMethodError)
from ./init.rb:1072
but only after the first App GC mark phase.
So I changed all the GridCell*Editor.i files from GC_MANAGE to
GC_MANAGE_AS_EVENT. Which stopped the crashing. My question
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Oct 19
1
Using grid graphics (hexbin) in pairs() plot problem
Hi,
I am trying to create a plot with pairs()
using a gplot.hexbin() for each pair.
For pairs I can provide a custom upperPanel function:
pairs(iris[1:4], panel=mypanel)
and mypanel() calls plot.hexbin():
library(hexbin) # Bioconductor
mypanel <- function(x, ...){
hb <- hexbin(x)
plot(hb)
}
The problem is that gplot.hexbin() is based
on the
2011 Aug 20
1
Groups and bwplot
Dear R-users,
A while ago, Deepayan Sarkar suggested some code that uses the group
argument in bwplot to create some 'side-by-side' boxplots
(https://stat.ethz.ch/pipermail/r-help/2010-February/230065.html). The
example he gave was relatively specific and I wanted to generalize his
approach into a function. Unfortunately, I seem to have some issues
passing the correct arguments to the
2008 May 30
1
Question about adding text to xYplot(Hmisc)
Hello,
I have been trying to make a graph that have error bars and text at
specific position.
I used the following code from the help file of xYplot(Hmisc) as an
example except I add a myPanel function, which is just supposed to add
letters from the alphabet at the position aligned at y = 3.
It constantly gives me error:
"Error using packet 1 argument "subscripts" is
2011 Jan 21
1
Help for lattice. par(new=TRUE)
Hi list,
I want to plot two plot in the same figure. I set par(new=TRUE). But
it does not work.
library(lattice)
myPanel <- function(x,...)
{
panel.histogram(x,alpha=0.4,...)
ltext(0.4,1.5,paste("Mean=","0.05",digit=2)),cex=0.8)
ltext(0.8,1.5,paste("s.d.=","0.06",digit=2)),cex=0.8)
}
histogram(sh2,
2010 Mar 23
2
wxGrid merge cell
It''s possible merge two or more cell ???
ex:
--------------------------------------
| LABEL 1 | LABEL 2 | LABEL 3 |
--------------------------------------
| VALUE CELL MERGE | ANOTHER |
--------------------------------------
| | | |
--------------------------------------
Many Thanks
Carlo Bertini
www.waydotnet.com
--
Posted via
2010 Jan 24
1
lattice ltext
Dear friends - please give me a hand.
I have a dataset of 40 patients in two groups observed on three
occasions. I only want to plot a line
for each patient in the two groups. I use the ltext function to put the
patient number but fail to make lattice understand the numbers as
unique since apparently it starts all over with 1:20 for each panel
instead of respecting my desires to have 1:20
2012 Mar 01
2
How to colorize the panel backgrounds of pairs()?
Dear expeRts,
I would like to colorize the backgrounds of a pairs plot according to the respective panel number. Here is what I tried (without success):
count <- 0
mypanel <- function(x, y, ...){
count <<- count+1
bg. <- if(count %in% c(1,4,9,12)) "#FDFF65" else NA
points(x, y, cex=0.5, bg=bg)
}
U <- matrix(runif(4*500), ncol=4)
pairs(U, panel=mypanel)
I
2008 Mar 27
1
panel function question
I have two data sets with locations, X, Y of houses (df.house) and
habitats(df.habitat), respectively. In each dataset, there are 3
replicates (Repeat). Because each replicate has different locations of
houses and habitats, I would like to plot them in panels. I wrote
something like this:
mypanel<-function(x,y,subscripts,...){
panel.xyplot(x,y,pch=20)
panel.xyplot(
2011 Sep 09
1
Adding groups to regression line panel function in Lattice
I wish to display a single-panel Lattice figure with grouped data and fitted regression lines. I don't seem to be able to get the
individual regression lines to display, e.g.;
d <- data.frame(q = rep(1:6, each=10), cc = rep(seq(10,100, 10),6)) # create data frame with group identifier 'q', independent variable cc
d$ba = d$q*0.1*d$cc + 5*rnorm(nrow(d))
2012 Mar 10
1
Use different panel functions with lattice
Hi,
I have a data.frame df with
names(df) = c("Var1", "Var2", "Var3", "Var4")
and I plot data with
xyplot(Var1+Var2~Var3|Var4, data=df)
I want to use different panel functions for Var1 and Var2.
How can I do ?
Something like :
panel.mypanel = function(x, y, ...) {
if (Var1) panel.Var1Panel(x, y, ...)
else panel.Var2Panel(x, y, ...)
}
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2009 Mar 23
1
using xyplot
Dear R-sians!
I am trying generate a bunch of xyplots
library(lattice)
myPanel <- function(x,y,xl=range(x),yl=range(y),...) {
panel.xyplot(x,y, pch=20,col='blue',cex=0.7,xlim=xl,ylim=yl,...)
panel.abline(v=0, col='gray30',lty=2,lwd=1.5,...)
panel.loess(x,y,
span=2/3,family='gaussian',normalize=T,col='red',lwd=1.5,...)
#
2005 Mar 17
1
Varying grid.rect in different panels of a Lattice plot
Dear r-help,
Sleep-deprivation from having 2 youngsters under 2 around the house is
fuzzing my brain, so please be gentle if the answer to this query is obvious!
In the example below, I'm trying to use grid.rect to add grey rectangles to
the panels of a lattice plot to indicate which months spawning occurred of
a (very cute) native Tasmanian fish. The fish in the two lakes spawned at