Use this tag for questions related to annotating plots, e.g. adding descriptive labels or annotations to data points.
Questions tagged [annotate]
490 questions
0
votes
1 answer
Is there any git command that shows in a human-readable way commit messages side-by-side source?
Or, put in another way, is there any pretty interface to git-annotate or you have to do the legwork yourself?
What I am lookig for is some tool that would use plain git-annotate or git-annotate --porcelain (which I can't really figure out and I…

jjmerelo
- 22,578
- 8
- 40
- 86
0
votes
1 answer
Use annotate by giving list python matplotlib
I have a function call draw. I have 2 lists, one with x coordinates an second with y coordinates. I'm making a plot, and I want to write in the plot the x,y coordinates.
I see that annotate may be the answer but it can't get a list.
I'm trying to do…

shlomi
- 523
- 3
- 13
- 26
0
votes
1 answer
Count records having three or more items
I'd like to group records in two categories:
Items having three or more records
Items having less than three items
How do I go about this? I'm looking at using annotate().

Stephen
- 5,959
- 10
- 33
- 43
0
votes
0 answers
Mercurial walk history of specific line number
I need to walk the history of Mercurial using the commandline (no GUI tools) for a single line number all the way back through history to the starting point. As an example, I used this for Git (using git blame) for line 2:
git blame -L2,2…

firefly2442
- 557
- 8
- 18
0
votes
1 answer
How to get the exact shrink value when customizing arrow styles in annotate
When willing to use customized arrow styles in matplotlib one can do the approach explained in this answer. But there is still an issue when shrinkA or shrinkB are specified.
I thought of a way to calculate these values using matplotlib functions,…

Saullo G. P. Castro
- 56,802
- 26
- 179
- 234
0
votes
2 answers
CVS Annotate returns blank output
I am working on a script that will get the user name associated with a CVS line number change and am using cvs annotate filepath to do it.
However, sometimes I run accost files that give blank output when annotate is run on them. Is there any…

EToreo
- 2,936
- 4
- 30
- 36
0
votes
1 answer
Adding annotations to the 2Dplots using R and ggplot2
I wish to specify the regions in this plot by adding boxes with the marked regions and intercepts running through the x and y axes, which I generated using ggplot2 for the data enter link description here
p <- ggplot(data, aes(Res1,Res2,fill=Val))…

user1818565
- 53
- 5
0
votes
2 answers
Counting objects and showing the results in Django
I have a question regarding counting objects, filtering the results and finally putting them into my template.
in Models.py:
class Fms(models.Model):
department = models.CharField(max_length=255, verbose_name='Department')
date =…

InKline
- 23
- 5
0
votes
1 answer
.NET component to view and annotate documents and images
I need a component that I can install on my server that can be used in an ASP.NET Web Application to:
Display word documents, PDF documents, images in the browser.
Allow these documents to be annotated online and have those annotation saved for…
Jon
0
votes
1 answer
Django annotate weird behavior
I am using django annotate to display to users the rating and number of reviews for a certain place. I have three models to do this:
class Descriptions(models.Model):
name=models.CharField(max_length=50)
…

sam
- 430
- 4
- 13
0
votes
1 answer
Django: Ordering Queryset with a specific filtered field
I need to sort the items queryset, introducing the obsolescence of content. (Content is ManytoMany related with Item class).
Is it possible to filter the contents by pub_date within an annotation?
My code works here for every content publication…

guillaumekal
- 11
- 4
0
votes
0 answers
annotate command "no such load to file" with -R
The annotate command fails when using the -R option to load additional files before loading the models with version 2.4.1.beta. The files appear to be found, but the error still occurs (if I use a wild-card path the first file is displayed as the…

George Shaw
- 1,771
- 1
- 18
- 32
0
votes
1 answer
Annotating Rails models that have Globalize3 translation tables
Is it possible to use the annotate (2.4.1.beta) gem to output globalize3 (0.2.0) translated properties in the models that they translate?
If I have a Post creation migration generated like so
class CreatePosts < ActiveRecord::Migration
def up
…

Paul Fioravanti
- 16,423
- 7
- 71
- 122
-1
votes
1 answer
how to get sum of every objects by queryset (object by object )
i have no expernce with 'aggregation' and 'annotate' and talk with exemple better
i have this object :
mediasec = MediaSec.objects.filter(date__range=[primary1, primary2], degraycomany__in=degraycompsec)
if i print it after convert it to list and…

Salim Fh
- 75
- 6
-1
votes
1 answer
How to add letters in my ggplot2 using annotate() when the x-axis is in the format `%Y-%m-%d %H:%M:%S`?
I have the next plot:
The code for getting it is this:
Plot<- ggplot(foo,aes(x=Time, y=value, colour=Axis)) +
geom_line(size=1) +
theme_bw() +
labs(x=expression(Time~(HMS)),y=expression(Raw~acceleration~(g))) +
…

Dekike
- 1,264
- 6
- 17