Questions tagged [area]

Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane.

Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.

1332 questions
10
votes
1 answer

Pandas stacked area chart with zero values

I am creating a stacked area chart using pandas df.plot(kind = area). Some of my data values are zero at some times. I would like to not have the line show where the value is zero. Is it possible to hide the line while still showing the area? Here…
10
votes
4 answers

Determine points within a given radius algorithm

I'm not sure what mathematical concept this is to support my question. ^^ Let's say we have PointA as the reference. The problem is to find the points around PointA within a given radius (Using coordinates). My approach would be to compute the…
jeff
  • 101
  • 1
  • 3
10
votes
1 answer

Area covered by a point cloud with R

I have a cloud of points scattered in a 2D Euclidean space. I would like to calculate the area inside the polygon linking the most extreme (=peripheral) points of the cloud. In other words, I would like to estimate the area covered by the cloud in…
Julien R
  • 101
  • 1
  • 3
10
votes
3 answers

Plot area in rcharts NVD3 lineChart

I want to plot the distribution of different populations with rCharts' NVD3 lineChart plot using the area=true option like in http://nvd3.org/examples/line.html. Here what I am working…
Jon Nagra
  • 1,538
  • 1
  • 16
  • 36
10
votes
10 answers

Polygon area calculation using Latitude and Longitude generated from Cartesian space and a world file

Given a series of GPS coordinate pairs, I need to calculate the area of a polygon (n-gon). This is relatively small (not larger than 50,000 sqft). The geocodes are created by applying an affine transform with data from a world file. I have tried…
Heath Lilley
  • 393
  • 1
  • 6
  • 11
10
votes
3 answers

Calculate the area of a quadrilateral

I'm trying to create a calculator which calculates the area of a simple quadrilateral. I know that every quadrilateral can be split into two triangles, and I should be able to calculate the area in two parts no matter what. I am able to do this in…
user2032433
10
votes
3 answers

find smallest area that contains all the rectangles

This is an interview question. We are given dimensions of various rectangles, we have to find out the area(minimum) of rectangle that can enclose all of them? rectangles can be rotated also . test case:- input: 3 //number of rectangles 8 8 4 3 3…
k53sc
  • 6,910
  • 3
  • 17
  • 21
10
votes
3 answers

Twitter Bootstrap: tooltips on html map area

Tooltips from twiiter bootstrap is great, but they didnt work with tags :( How can I fix it? I've noticed that js works, tooltip element is created, but it's position is wrong.. I've made a little example. http://jsfiddle.net/dhkFN/1/
Anton
  • 115
  • 1
  • 1
  • 7
9
votes
2 answers

Python: Histogram with area normalized to something other than 1

Is there a way to tell matplotlib to "normalize" a histogram such that its area equals a specified value (other than 1)? The option "normed = 0" in n, bins, patches = plt.hist(x, 50, normed=0, histtype='stepfilled') just brings it back to a…
Pawin
  • 368
  • 1
  • 3
  • 7
9
votes
2 answers

Shading between vertical lines in MATLAB

I'm sure this is a simple question, but I can't seem to figure it out. I've got this plot and I want to add vertical lines and shade the area in between to highlight areas of the data. I feel like I should be able to do this using the area…
jefflovejapan
  • 2,047
  • 3
  • 20
  • 34
9
votes
2 answers

Camera AF_TRIGGER_START doesn't start focusing onTouch

i have a camera app using camera2 Api, i implemented onTouchListener to the TextureView i use for Previewing from Camera, what i want is when a user taps the screen to be able to focus on that area exactly like the built in Android Camera. i don't…
Homombi
  • 133
  • 7
9
votes
1 answer

Fill area to match the lines of with various 'type' arguments in lattice

I know I can use panel.xyarea from latticeExtra to fill the area in the plot with any colour. Without defining a type argument in xyplot, such filling will follow the route of default type="p": library(lattice) library(latticeExtra) data <-…
Geek On Acid
  • 6,330
  • 4
  • 44
  • 64
9
votes
2 answers

How do you make the area of hover in css larger

I have a list in html that I am formatting as a drop down menu in CSS, however, when I hover over, only the first half of the text is responding, as opposed to the entire length of it, and I can't figure out which property to change in order to make…
TheLaurens
  • 405
  • 1
  • 6
  • 14
9
votes
1 answer

Highlight parts of matlab plot

I have a matlab plot that looks like this: Where the Y values for each of the subplots are stored in single dimensional arrays. What i would like to do is to find an area where the top graph is above a certain height say 0.5. I would also like to…
Fantastic Mr Fox
  • 32,495
  • 27
  • 95
  • 175
8
votes
3 answers

Python adding extra area to image

So I have a table with image sizes. There are multiple images of different sizes (66x66, 400x400, etc.). I have one example of image (the original) that always has a size of 600x532, and on this image is a product (a TV, a PC, etc.). I have to…
user945967
1 2
3
88 89