Skip to main content

Questions tagged [vector-graphics]

Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical equations, to represent images in computer graphics. Images are drawn at run-time from the information stored, and so vector images do not get distorted after zoom/resize etc.

vector-graphics
0 votes
0 answers
130 views

Is there a way to extract and/or translate summary.ordisurf output to view the relationship with each ordination axis in R?

I have a question regarding plotting and interpreting the relationship between continuous environmental variables to an NMDS ordination of species abundances using R. This is a programming follow-up ...
theforestecologist's user avatar
0 votes
0 answers
42 views

Error in .checkXYnames(colnames(x)) : vectlongitude/latitude in the wrong order

I have a vector and a raster loaded. the points all lie within the raster. However, I get a en error when I run the Hiking function. enter image description here enter image description here enter ...
user avatar
1 vote
0 answers
153 views

How to reuse a group and/or path in android vector drawable

I have the following vector drawable code <vector android:name="vector" android:width="9dp" android:height="16dp" ...
K-Galalem's user avatar
  • 310
0 votes
1 answer
205 views

OpenGL Drawing 2 vectors with a given angle between them

I'm trying to draw in OpenGL 2 vectors with a given angle (in radians) between them, something like this: I managed to draw the vectors but I'm not sure how to place them at the specific angle: ...
Paul C's user avatar
  • 27
1 vote
1 answer
136 views

Is there a way to export a line that was drawn on a chart to an EMF file in Winforms?

I'm drawing some data using Winforms (with a C# solution). I plot error bars using chart series (with the chart.Series[item].Points.AddXY() method). However, I link the error bars' middle points with ...
Gautzilla's user avatar
1 vote
0 answers
69 views

Android Vector Drawable with ImageView: the image is being cutted at the bottom

I have the following svg (vector file): <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="18dp" android:height="3dp" ...
Hhry's user avatar
  • 903
1 vote
1 answer
127 views

Vector field with numpy and mathplotlib

I know how to generate a vector field in all plane, but know I'm trying to create the vector just in some specific line, my code is import numpy as np import matplotlib.pyplot as plt x = np.linspace(-...
ends7's user avatar
  • 121
0 votes
1 answer
55 views

How to avoid blank spaces between bars which are plotted next to each other when exporting as SVG from matplotlib?

I am plotting with matplolib a bar chart, where the bars are next to each other without a space in between. However, when exporting as .svg blank (white) spaces between the bars are visible. bar chart ...
tofri's user avatar
  • 43
2 votes
2 answers
545 views

How to render math symbols as text in SVG/EPS/PDF images?

When creating graphs using, for instance, Python. It is possible to save these figures as vector graphics (SVG, EPS, PDF) and the text is rendered separately. This makes it possible to select or ...
Abe Brandsma's user avatar
0 votes
0 answers
103 views

What is the best way to represent a large number of dots in SVG?

I am working on a program that generates crosshatched images and now stippled images as SVG from raster input. With stippling however, representing each dot as a filled circle has made it such that ...
jwezorek's user avatar
  • 9,289
1 vote
0 answers
2k views

Why is it so hard to extract vector graphics from PDF?

There are many tools to extract raster graphics from PDF files like pdfimages. Raster graphics are defined a dictionary of type XObject with subtype Image, a filter and a stream with the data. This ...
bananaconda's user avatar
2 votes
1 answer
121 views

Convert handwritten input to a collection of geometry on a canvas

I am developing a Windows app that runs on computers with a pen input. I have a canvas object that receives an event every time the pen has moved to know where exactly it is on the canvas, the ...
frogstair's user avatar
  • 461
-2 votes
1 answer
224 views

SVG: generate a grid with random fill colour for each cell/rect?

Is there a way to generate an SVG grid with specified columns/rows and give each cell a different fill colour?
Pequod's user avatar
  • 13
2 votes
2 answers
519 views

How to turn a bezier curve into a sinusoidal form in svg?

I have been trying to make this shape in svg. Problem is, I want to manipulate it with the blue handles. I have already made a simple arrow and am able to change its shape with quadratic bezier curves....
Swayamjeet Swain's user avatar
0 votes
1 answer
3k views

Converting an svg with fill-rule="evenodd" to fill-rule="nonzero" [closed]

I have a SVG with a single path with fill-rule="even-odd" applied. I need to convert it to a font and to do that I would need to use an SVG without fill-rule="even-odd". So I was ...
Alapan's user avatar
  • 11

15 30 50 per page
1 2 3
4
5
77