Use this tag for questions related to annotating plots, e.g. adding descriptive labels or annotations to data points.
Questions tagged [annotate]
490 questions
1
vote
1 answer
IBM Watson Knowledge Studio - Entities with Role attribute and extracting it from NLU api
I have created a custom Entity Type system using Watson Knowledge Studio following these guidelines: https://www.ibm.com/watson/developercloud/doc/wks/typesystem.html
For each entity type, the annotator can add attributes to a mention, e.g. role,…

Joe Blogs
- 41
- 4
1
vote
1 answer
How to get latest value of a field on a related model in Django?
I have the following models:
class Timestamped(models.Model):
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)
class Meta:
abstract = True
class Thread(Timestamped):
user1 =…

MiniGunnR
- 5,590
- 8
- 42
- 66
1
vote
2 answers
Show the value of a geom_point using geom_text
Using this nice code from here:
countries <- structure(list(country = structure(c(5L, 6L, 3L, 4L, 10L, 8L,
11L, 7L, 1L, 13L, 9L, 12L, 2L), .Label = c("Australia", "China",
"France", "Georgia", "India", "Ireland", "Malaysia", "Poland",
"Qatar",…

Sasak
- 189
- 5
- 15
1
vote
0 answers
jaxb2 annotate plugin how to annotate a javatype in global binding
using jaxb2-annotate-plugin for annotations in xsd to java. I have a xjb binding file for global bindings and want to know if we could use global bindings on javatype to add annotation. Basically what i want to do is add an annotation on a java type…

Dave
- 41
- 5
1
vote
1 answer
Sonar 6.1 : Unable to TFS annotate the project and Missing blame information for the following files
We are using Sonar 6.1. SCM provider for this project is: tfvc. Even though we have provided the tfvc settings like username and PAT/password we are getting the below error.
2017-01-18T06:44:22.9837227Z INFO: SCM provider for this project is:…

Jonnadula Sasikumar
- 71
- 1
- 5
1
vote
1 answer
Django Calculate Aggregated Totals
I am trying to build a table that will aggregate stats based on a user ID. This is the first time asking a question, so bear with me if I miss anything major.
Here is the model:
class Batting(models.Model):
player = models.ForeignKey(
…

whob13
- 15
- 1
- 7
1
vote
2 answers
ClearCase annotate to find the culprit who added a particular LOC
I am in the middle of writing a script to find the culprit who added a particular line of code in ClearCase. I am using annotate command for this. cleartool annotate -all -fmt "%Ad %-8.8u %-100.150Vn | " -nheader -force
I am using -all so that I…

djacob
- 110
- 1
- 9
1
vote
1 answer
How do I get `annotate_models` gem to work with yard in markdown?
How do I get annotate_models gem to work with yard in markdown?
At the moment, I specify --markup markdown in .yardopts and use the following in auto_annotate_models.rake:
'format_markdown' => 'true'
However, the markdown renders very…

Amin Shah Gilani
- 8,675
- 5
- 37
- 79
1
vote
2 answers
Annotate 2 points on map using addresses inside labels. - Objective C
I would like to drop a pin on the map showing the location of each address. The labels are pre-filled with data, so I am assuming the annotation code will need to go in the viewDidLoad.
To avoid any confusion and to help clarify a correct…

kh1090
- 43
- 5
1
vote
0 answers
Plotting text on basemap
Suppose I want to plot 'text' on a basemap over Spain, this would work.
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
m = Basemap(resolution='l')
fig =…

J W
- 617
- 1
- 9
- 28
1
vote
1 answer
Looking for ForeignKey active and add to QuerySet
class Control(models.Model):
period = models.DurationField()
active = models.BooleanField()
device_collection = models.ForeignKey(DeviceSet)
class DeviceSet(models.Model):
name = models.CharField()
date_last_control =…

Quentin
- 144
- 8
1
vote
1 answer
django count specific rows in queryset
class Order(models.Model):
name = models.CharField(max_length=100)
# other fields..
user = models.ForeginKey(User)
old = models.BooleanField(default=False)
I want to display all the orders of a specific user, but I want to split them…

user3599803
- 6,435
- 17
- 69
- 130
1
vote
3 answers
I cannot separate two annotate labels with a comma
First of all, I'm beginner R user. I wanna add R-square and p-value in my chart. But, in a line just separate by a comma. Attached is the code I'm trying to use.
ggplot(data,…

Pedr Nton
- 79
- 7
1
vote
1 answer
sas sgplot legend & axis labelling
Suppose I have sgplot and my output looks something like
My aim is to adjust the legend and make the bottom section to look something like below. How can I do this?

Lester
- 35
- 7
1
vote
1 answer
Django annotate/count filter only working with postgres not sqlite
Following model relations:
classA has a non-nullable FK-Field to classC.
classB has a nullable FK-Field to classC.
I need a list of classA-records that have zero classB-records connected to the common classC-record.
In postgres both queries give…

djangonaut
- 7,233
- 5
- 37
- 52