Questions tagged [annotate]

Use this tag for questions related to annotating plots, e.g. adding descriptive labels or annotations to data points.

490 questions
1
vote
2 answers

Add custom labels to bars in ggplot stacked bar graph with multiple variables

I've created a stacked bar graph in ggplot2 with multiple variables: using the following code: library(ggplot2) ggplot(meltd, aes(x=Burst, y=value, fill=variable)) + geom_bar(stat="identity") + facet_grid(~samp,scales="free",space="free") + …
stewart6
  • 259
  • 2
  • 4
  • 15
1
vote
1 answer

Annotating a box outside the box, matplotlib

I want the text to appear beside the box instead of inside it: Here is what I did: import matplotlib as mpl import matplotlib.pyplot as plt from custombox import MyStyle fig = plt.figure(figsize=(10,10)) legend_ax = plt.subplot(111)…
user2998764
  • 445
  • 1
  • 6
  • 22
1
vote
0 answers

Get the co-ordinates of markup on image in cocoa

I need to get the co-ordinates of markup(it may be circle, rectangle or any shapes) on image in cocoa. It would be starting x,y points when markup starts or the x,y points when markup ends. Now I am to able to draw a shape on image, but I am unable…
KethanKumar
  • 716
  • 5
  • 17
1
vote
1 answer

Annotateit and php delegated authentication

I want to implement annotateit (http://annotateit.org) on my website and enable logged in members to annotate certain texts using delegated authentication. annotateit website and GitHub provide some tutorials and docs for this but they are very…
1
vote
1 answer

Django group / aggregation

I have following structure with example data: id season_id title 1 1 Intro 2 1 Second part 3 1 Third part 4 4 Other intro 5 4 Other second part (don't ask why), where…
bluszcz
  • 4,054
  • 4
  • 33
  • 52
1
vote
0 answers

Getting current mouse pointer position in IKImageView

I am using IKImageView to display the image. I need to add a note when releasing the mouse pointer that has shown in below image. How can i get the x and y position when i release the mouse after drawing? when i click the draw function "[_imageView…
Nithinbemitk
  • 2,710
  • 4
  • 24
  • 27
1
vote
2 answers

Adding extra field to find whether the object is related to another one

I am trying to build an extra field in a Django query to specify whether an article belongs to a Journal. I am trying to do something like…
marcelosalloum
  • 3,481
  • 4
  • 39
  • 63
1
vote
4 answers

"read lock failed" at cvs annotate

I am trying to use cvs annotate. This is the what I run: cvs -d /mycvs/cvsroot/ annotate "projects/dg/SomeClass.java" However, I get the following error: cvs annotate: failed to create lock directory for `/mycvs/cvsroot/projects/dg^M'…
idrosid
  • 7,983
  • 5
  • 44
  • 41
1
vote
1 answer

Creating a loop to write annotations within ggplot

I am creating charts where a white line breaks the bar in front of bar (sorry can't post Image). I have gotten the code to do it once but I am not great with looping yet. library(ggplot2) count <- c(61.8,18.8) name <- c("A","B") yes <-…
Dan KS
  • 123
  • 2
  • 13
1
vote
2 answers

Text generated with rmagick looks ugly

I'm trying to generate some text in an image that will be embedded in an email. I would like to look as much as possible as the other text in the message body; so I tried: i = Image.new(500, 100) d = Draw.new d = d.annotate(i, 0,0,0,25,nombre){ …
runixo
  • 156
  • 3
  • 13
1
vote
0 answers

Adding text description to ggplot2

Solution found. Issue: Using ggplot in R, I am creating histograms with density curves and would like to add some calculated statistics to the plot so that I can flip through them and compare later on. I would like to add mean, standard dev,…
nick
  • 11
  • 3
1
vote
0 answers

How to structure collaborative notes in HTML

In our CMS system we will add a feature where users can add notes to the existing content. This annotation-like system is to help users each other writing good texts. The system is inspired by the way medium and substance work, but Microsoft Office,…
Jurian Sluiman
  • 13,498
  • 3
  • 67
  • 99
1
vote
0 answers

query Django for top users

I have to create an algorithm that gets the most popular users of my site. I don't really know how to start. I have to take in consideration : - number of follower - number of comment / topic posted - number of positive vote received by the user -…
flo bee
  • 830
  • 2
  • 11
  • 20
1
vote
2 answers

Django annotate sum with a condition on a related table

class Inventory(models.Model): ... product = models.ForeignKey('Product') quantity = models.IntegerField(default=0) class Order(models.Model): ... quantity = models.IntegerField() inventory = models.ForeignKey('Inventory') …
Nam Ngo
  • 2,093
  • 1
  • 23
  • 30
1
vote
2 answers

ClearCase SCM Adapter support for annotate

I wanted to annotate some code with version history. This is easy in Eclipse when using SVN, but the Rational ClearCase SCM Adapter plugin doesn't appear to support it. I quick Google search reveals that on the command line ClearCase supports…
Ivo Bosticky
  • 6,338
  • 6
  • 34
  • 35