ggobi / cranvas

Interactive graphics in R using Qt interfaces, a descendant of ggobi software
https://ggobi.github.io/cranvas.org/
80 stars 12 forks source link

qhist does not initially display data #167

Open mariev opened 12 years ago

mariev commented 12 years ago

System:

ubuntu 10.04 lts

01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5600 Series] Subsystem: Hewlett-Packard Company Device 1448 Flags: bus master, fast devsel, latency 0, IRQ 35 Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at d4000000 (64-bit, non-prefetchable) [size=128K] I/O ports at 4000 [size=256] Expansion ROM at d4040000 [disabled] [size=128K] Capabilities: Kernel driver in use: fglrx_pci Kernel modules: fglrx

R 2.14.1 Platform: x86_64-pc-linux-gnu (64-bit)

Qt version 4.6.2

Code:

from cranvas-ex.R

library(cranvas) data(tennis) str(tennis)

the first step is always to create the data object

qtennis = qdata(tennis, color = serve.speed, size = aces)

then create plots

qhist(serve.speed, data = qtennis)

Problem:

data does not display unless a bar region is selected (highlighted).

Warning messages: Qanviz::PlotView instance Warning messages: 1: QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked. "
2: QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked. "
3: In drawText(text, x, y, rot, color, hcex, vcex) : QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked. " 4: In qdrawSegment(painter, xat + xshift1, yat + yshift1, xat + xshift2, : QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked. " 5: In drawText(text, x, y, rot, color, hcex, vcex) : QGLShader::link: "Fragment shader(s) linked, vertex shader(s) linked.

yihui commented 12 years ago

is is possible for you to upgrade to Qt 4.7.4? Tengfei and I are using Ubuntu 11.10.