search for: vline

Displaying 20 results from an estimated 22 matches for "vline".

Did you mean: line
2011 Nov 24
1
[PATCH] nouveau: implement precise vblank timestamping
...rs/gpu/drm/nouveau/nouveau_display.c @@ -578,3 +578,127 @@ nouveau_display_dumb_map_offset(struct drm_file *file_priv, return -ENOENT; } + +int +nouveau_get_scanoutpos(struct drm_device *dev, int crtc, int *vpos, int *hpos) +{ + struct drm_nouveau_private *dev_priv = dev->dev_private; + int vline, hline, ret = 0; + u32 vbias, hbias, reg, vbl_start, vbl_end; + struct drm_crtc *drmcrtc; + + if (crtc < 0 || crtc >= dev->num_crtcs) { + DRM_ERROR("Invalid crtc %d\n", crtc); + return -EINVAL; + } + + list_for_each_entry(drmcrtc, &dev->mode_config.crtc_list, head) { +...
2012 Apr 25
2
[PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.
From: Mario Kleiner <mario.kleiner at tuebingen.mpg.de> Emit kms pageflip completion events with proper vblank count and timestamp for the vblank interval in which the pageflip completed. This makes the timestamps and counts consistent with what the OML_sync_control spec defines. v2 Lucas Stach: rebased on top of nouveau tree and resolved trivial conflict. Signed-off-by: Mario Kleiner
2012 Feb 15
2
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping
Hi, these are two patches against the nouveau kms driver. The first patch makes sure that pageflip completion events get their vblank count and timestamp from the drm. The second patch from Lucas Stach, here included with his permission, makes sure that the timestamps of vblanks are calculated with high precision and robustness. Both patches together make sure that all timestamps returned by the
2012 Feb 16
5
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2
Just updated versions of the patches send by Mario Kleiner. This ones are rebased on top of the nouveau tree and updated according to the review feedback. Regards, Lucas
2013 Aug 12
0
[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.
Not as thoroughly tested as I would like. Newer nvd0 and kepler are unsupported, as I don't know the registers yet. Information of the scanout position is based on Lucas Stach's original patch, with a teak to read vline twice, to prevent a race of hline with vline. Cc: Lucas Stach <dev at lynxeye.de> Cc: Mario Kleiner <mario.kleiner at tuebingen.mpg.de> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers...
2013 Nov 16
1
contour plot axis correspondence
...( FirmV ) ) } ss <- seq(-2,0.5,0.1) MX <- expand.grid( hdgM= ss, hdgX= ss ) MX$z <- unlist(lapply( 1:nrow(MX), function(i) with(MX, exploss(hdgM[i],hdgX[i])) )) M <- matrix(MX$z, nrow=length(ss), ncol=length(ss)) rownames(M) <- colnames(M) <- ss filled.contour( x=ss, y=ss, M ) vline <- function(x, y=c(-99,99), ...) lines(c(x,x), y, ...) vline(-0.5, col="blue", lwd=3 ) how do I map the -0.5 in the vline() to the true -0.5? it is drawn . as a sidenote, it was not easy to figure out how I could plot an z function for an x-axis and y-axis. plot(x,y) is very intui...
2012 Dec 13
3
Combined Marimekko/heatmap
Hi all, I'm trying to figure out a way to create a data graphic that I haven't ever seen an example of before, but hopefully there's an R package out there for it. The idea is to essentially create a heatmap, but to allow each column and/or row to be a different width, rather than having uniform column and row height. This is sort of like a Marimekko chart in appearance, except that
2010 Nov 09
1
ggplot2: facet_grid with different vertical lines on each facet
...her using facet_grid in ggplot2. However, I want to then add a vertical line to each histogram, or facet, each of which vertical lines are at different x-values. The following example adds all vertical lines to each facet: ggplot(data,aes(values)) + geom_histogram() + facet_grid(.~variable) + geom_vline(xintercept=c(5,10,15)) How can I add a vertical line at different x positions on each facet? Thanks very much, Scott Chamberlain [[alternative HTML version deleted]]
2017 Jul 12
1
[PATCH] drm/nouveau: honor return type of nvif_mthd, trivial
...x(crtc)]; int retry = 20; bool ret = false; + int method_ret; do { - ret = nvif_mthd(&disp->disp, 0, &args, sizeof(args)); - if (ret != 0) + int method_ret = nvif_mthd(&disp->disp, 0, &args, sizeof(args)); + if (method_ret != 0) return false; if (args.scan.vline) { -- 2.13.2
2013 Jan 12
3
heatmap.2 problem
...c(1,2,2,1,1,3,1,2,3,1,1,2,2,3,1), func.2 = c(2,2,1,1,3,3,1,1,2,2,1,3,3,2,1)) mycol <- colorpanel(n=3,"green","grey","red") heatmap.2(my.matrix,Rowv=FALSE, Colv="Rowv", col=mycol, trace="both", tracecol="black", key=FALSE, symm=FALSE, vline=NULL, hline=NULL) Kind regards, Peter
2002 Jun 27
3
plot(..., type="h") w/ origin not at y=0
Is it a way to make plots with vertical lines, like plot(x, y, type="h"), but starting from a different value than y=0. For example, with x=1:3, y=-(1:3), y.orig=-3 : -1 | | y -2 | | | | -3 | | | 1 2 3 x Thanks -- Cyril Humbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --
2007 Sep 02
0
ggplot2 - version 0.5.5
...//had.co.nz/ggplot2, and check out the over 500 examples of ggplot in use. Changes in version 0.5.5 ---------------------------------------- Improvements: * ggplot now gives rather more helpful errors if you have misspecified a variable name in the aesthetic mapping * changed default hline and vline intercepts to 0 * added "count" output variable from stat_density for creating stacked/conditional density plots * added parameters to geom_boxplot to control appearance of outlying points * overriding aesthetics with fixed values that have already been set with aesthetics now actually...
2007 Oct 21
0
ggplot2 - version 0.5.6
...ented hash methods for all ggplot objects. This is the first step in making it easier for me to compare all examples between versions for quality control purposes New data: * seals, contributed by David Brillinger and Charlotte Wickham, used for vector field example Bug fixes: * geoms hline, vline and abline now all work correctly when a grouping variable is used * block histograms (where individuals are identifiable) now work correctly * all ggplot objects should now print properly from the command line * fixed bug in geom_path when only 1 point * segments geom now works correctly f...
2007 Sep 02
0
ggplot2 - version 0.5.5
...//had.co.nz/ggplot2, and check out the over 500 examples of ggplot in use. Changes in version 0.5.5 ---------------------------------------- Improvements: * ggplot now gives rather more helpful errors if you have misspecified a variable name in the aesthetic mapping * changed default hline and vline intercepts to 0 * added "count" output variable from stat_density for creating stacked/conditional density plots * added parameters to geom_boxplot to control appearance of outlying points * overriding aesthetics with fixed values that have already been set with aesthetics now actually...
2007 Oct 21
0
ggplot2 - version 0.5.6
...ented hash methods for all ggplot objects. This is the first step in making it easier for me to compare all examples between versions for quality control purposes New data: * seals, contributed by David Brillinger and Charlotte Wickham, used for vector field example Bug fixes: * geoms hline, vline and abline now all work correctly when a grouping variable is used * block histograms (where individuals are identifiable) now work correctly * all ggplot objects should now print properly from the command line * fixed bug in geom_path when only 1 point * segments geom now works correctly f...
2008 Jul 03
1
ggplot2 legend for vertical lines
...n add information in this case). > library(ggplot2) > dfr <- data.frame(values = sin(1:50/10), > fact = rep(c("short", "long"), each=25, length=50), > fact2 = rep(1:10, length=50)) > > p <- qplot(fact2, values, data=dfr, colour=fact) > p + geom_vline(intercept=c(5), colour = 1) + > scale_shape_manual(name="fact", values=1) # tried this, but useless > here Any tips on changing these settings would be welcome! Sincerely, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker...
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
..." [57] "scale" "scale01" "sepcolor" "sepwidth" [61] "sx" "symbreaks" "symkey" "symm" [65] "tmpbreaks" "trace" "tracecol" "vline" [69] "x" "xlab" "x.scaled" "x.unscaled" [73] "ylab" "z" Browse[1]> tmpbreaks [1] NaN -2.45 -2.40 -2.35 -2.30 -2.25 -2.20 -2.15 -2.10 -2.05 -2.00 -1.95 [13] -1.90 -1.85 -1.80 -1.75 -1.70 -1.6...
2012 Apr 26
6
print table on plot
Hello, I would like to be able to plot an array on a plot, something like: |arg1 | arg2 | arg3 val1| 0.9 | 1.1 | 2.4 val2| 0.33 | 0.23 | -1.4 val3| hello| stop | test I know Rwave is good to report but don't want to use it. ? Is there a package that allow quick and dirty plot of dataframes like this ? Thanks a lot -- View this message in context:
2009 Oct 09
1
Placing text in a ggplot
I am attempting to graph 12 months of temperatures, delineate the months with a vline and place the names of the months at the top of the graph. So far I have gotten everything to work except the names, despite getting a similar graph to work yesterday the day before yesterday with Baptise A's help. Can anyone suggest what I am doing wrong. Data set is below code. Thanks. C...
2010 Apr 14
8
how can I plot the histogram like this using R?
I want to get the plot like this, http://n4.nabble.com/file/n1839303/%25E9%25A2%2591%25E7%258E%2587%25E5%2588%2586%25E5%25B8%2583%25E5%259B%25BE%25E6%25A0%2587%25E5%2587%2586.jpg %E9%A2%91%E7%8E%87%E5%88%86%E5%B8%83%E5%9B%BE%E6%A0%87%E5%87%86.jpg not this, http://n4.nabble.com/file/n1839303/R.jpg R.jpg and the data here, thank you! http://n4.nabble.com/file/n1839303/y1.txt y1.txt can R