|
Suppose I have the following
y <- rnorm(10) b <- as.factor(sample(1:4,10,replace=T)) qplot(1:10, y, shape=b)
How do I change the shapes that are used using ggplot2 ?
Started by chris_dubois on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Be:
qplot(1:10, y, shape=b) + scale_shape_manual(value=c(0,5,6,15))
The shapes are the same> y <- rnorm(10) > b <- as.factor(sample(1:4,10,replace=T)) > qplot(1:10, y, shape=b.
|
|
I'm looking to connect or glue together two shapes or objects with a Line. These shapes will be generated dynamically, meaning I'll be calling a Web service on the backend to determine how many objects/shapes need to be created. Once this is determined...
Started by dotnetdvlpr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
My shape is a usercontrolUse a Path or a Line below the shapes in stacking order or z index Use instance.TransformToVisual() to get the transform....
At the bounds of the shapes instead of going inside/behind the shape to its centre.
|
|
Hi,
I put several shapes (like Ellipse and Rectangle) on a Canvas. Now, I want user to be able to drag & drop these shapes. Is there some predefined functionality that I can use, or I should implement the drag & drop myself using the mouse events ?
Thanks...
Answer Snippets (Read the full thread at stackoverflow):
HTH
Handling the mouse events and implementing....
If not I have some sample code that I can post later this evening .
Here is an article I believe will help - link text .
I believe you will need to do this yourself, using the mouse events and the visual tree .
|
Ask your Facebook Friends
|
Anyone have any ideas on where to get a really nice collection of visio shapes, e.g for the following purposes:
network diagrams shapes to show solution deployments any other fancy looking diagrams for software development?
Started by dronco on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Of visio shapes for gui mockups here ..
|
|
I want to create a number of straight lines connecting small circle shapes. then I want to change the color and width of the lines from within my program. I was thinking of using Canvas to do this but there does not seem to be a way to access individual...
Started by kokokok on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Once they....
You don't paint shapes onto a Canvas if you're using Graphics and Graphics2D functions like drawRect, drawPolygon, drawOval, etc.
Is to have a List of your shapes (either one list for all or one for circles and one for lines.
|
|
Does anyone know where I can find Visio shapes for Lucent equipment? Specifically, AC120 and CBX500's. I also trying to avoid having to pay a subscription fee.
Started by Craig on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
First hit from the google: http://www.netzoomstencils.com/home/index.php
Google says ....
|
|
If I draw any shape onto a surface (with SRCALPHA flag on) in a partially transparent colour it completely replaces what was underneath it, instead of overlapping like you would expect in image editors.
How can I make the shapes overlap properly?
Started by Jeffrey Aylesworth on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
-- If you're going to display the same....
If you've))
p.s.
You could use blit with appropriate BLEND_* values (keeping the shapes as separate surfaces channel, draw your shape onto that surface, then blit with blending onto the final surface.
|
|
Hello, i am using in my c# project visio activex to import visio floorplan drawings. and i need to get the vertices of the shapes in that drawing, and i can't find any method or property for it. if someone has any ideas please help.
Started by Bass on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
}", currentStencil.Title, countStencils); statusStrip1.Refresh(); // create a triangle shape from the stencil); // create a square shape from the stencil master collection Visio.Shape shape2 = currentPage.Drop, 4.50); // currentPage.Layout....
|
|
I'm currently developing a visualization tool that draws WPF shapes such as paths, ellipses etc. on a Canvas. I've already implemented a virtualized approach where Shapes are being destroyed and created on the fly depending on their visibility. However...
Started by kitsune on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A Writeable bitmap is clearly eventually faster, but that means rending all those shapes.
WPF under the covers works with drawings and geometries - when you say you're working with shapes as possible.
|
|
I am looking for a drawing library or code examples to draw images or vector shapes repeated along a path which could be curved.
I found a cocoa library which is what I am looking for http://apptree.net/drawkitmain.htm but for .NET.
Started by Ben Martin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Using a DrawingBrush you can project whatever you....
Or use native .Net in form of WPF.
You can also check this @ codeproject.
You may want to look at SvgNet.
This is ideal for manipulating vectorial images.
I would use Scalable Vector Graphics (SVG).
|