3d graph line segment

Hi:
I'm trying to find a way to draw a series of x,y,z points to a 3d graph with each point linked to the last with a line segment.  I have been successfull in plotting a series of points to the 3d graph indicator in LabView but I cannot figure out how to connect them with line segments ... does anyone know how this might be done?  Thanks in advance for any help.

When the cwlinepoint property is activated the graph draws a line from each point to each point which is not what I'm trying to do ... the code I have written is extremely basic ... three 1d arrays each containing number set (one array with x coordinates, one array with y coords, ect.) these are then passed to the CWGraph3D invoke node ... then the points are plotted to the 3d graph as just points ... which is somewhat usable for what I am trying to do but I was surprised to find out that such a functionality was not already built in to LabView.  I thought that there would have been a relatively easy way to do it but I have not been able to find it on my own, so I thought I would put it out there and see if others had already figured it out.  My search of the forum yeilded nothing.  Again your help is greatly appreciated unclebump!!!  Find attached code.  Was written in Labview 7.1 but should be usable in 7.0 I think. 
Attachments:
3dgraphof point attempt.vi ‏35 KB

Similar Messages

  • Line segments in CWgraph

    Is it possible to draw multiple disconnected line segments as a single plot
    in CWgraph or do I need to
    implement these as separate plots. (if so, how many plots can I put on a
    graph??)
    Thanks
    SteveS

    I'm not sure exactly what you mean by disconnected line segments but I will give you a few suggestions based on what I think you mean.
    If you want to draw a bar chart, yes you can simulate this with one array of data and a single plot. To do this you can go to the Property pages of the CWGraph and select the Plots tab, from here change the line style drop down menu to XY Step and check the Fill to base and Lines checkboxes. Tada! you can see the style of your graph now resembles a bar chart. Now I know that the bars are all right up against one another, but if you want to get around this you can set the index that you would like a separation at to 0 so that basically that line is drawn at the origin. The other drawback is that if you want separate colors you will
    absolutely have to have separate plots one for each color, and I'm sure you can understand what to do here from what I've already said.
    Now the other thing I thought you might have meant was to just simply draw multiple irrelevant lines on one graph and the answer to this is yes as well. Just go to the Property pages for the graph and select the PLots tab and click the 'add' button to add more, they will all have their own settings for style and you can also associate them with different axes under the Axes tab.
    Other than that you will have to specify more exactly what it is you are looking for and if you aren't quite sure you can do quite a bit of research yourself by studying the ComponentWorks online help, the ComponentWorks examples in your Measurement Studio\VB\Samples directory, and by opening up the Object Browser in VB and looking at all of the properties and methods exposed by the CWGraph object for programmatic manipulation of the control.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • Combining Line Segments into a single shape

    I drew one half of a shape by drawing multiple line segments using the arc tool. Think of the shape as sort of a C. Once I had the shape the way I wanted it, I copied and reflected it to give me the other half, so now it looks sort of like an O. However, when I go to fill the shape, I get all sort of weird fills, like it is trying to close each of the individual arcs that I drew.
    I have spent over an hour going through Illustrators help and searching the internet, but I can't figure out how to join all these line segments into a single shape that I can then apply a fill to. I'm sure this is easy, but I'm frustrated.
    Thanks,
    Ken

    Thanks Kurt. That did it. My gosh, I would never have thought of looking for something like that. I upgrade to CS3 sometime ago, but hadn't used illustrator much since I upgraded.
    Thanks for the help.
    Ken

  • How can i dynamically vary the color of one graph line

    I was looking on the developer zone and noticed several people are looking for a way to change the color of one graph line. Simplest case I would like to know: a graph is running, then you press a button and from that point on the color of the graph changes, but doesnt change the old data line color. THis way the line will consist of different colors.
    The property node changes the whole line, and the line is always just one color. It should be possible to make the line consist of different color sections, anyone know how?

    The application is actually not as slow as it seemed, i had some settings set wrong (anti aliasing in plot, and some functions in advanced, when you right click on the graph)
    Especially unchecking the anti-aliasing makes it much faster
    Also, just plotting point and not a line, or alternatively, changing the interpolation makes it faster.
    Anyway, the attached files do not rely on processor so much anymore, see for yourself
    Attachments:
    multicolor_looking_plot.vi ‏99 KB
    multicolor_looking_plot_2.vi ‏105 KB
    multicolor_looking_plot_3_truncated_array.vi ‏99 KB

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • Joining Line Segments

    The line looks like it's connected, but it's not. When I apply the brush effect it becomes disjointed. I want it to be one smooth stroke. Is there any way to join the line segments without having to redraw the stroke? I ask this because the line was imported into Illustrator from Flash, there are many more and I don't want to have to redraw them all. Thanks in advance for any help.

    Bob,
    Hopefully, you can:
    1. Deselect the path and then drag across each set of Anchor Points where the brushes go thin;
    2. Object>Path>Join.
    If you select the lot before 1+2, and look in the Layers palette, or open Window>Document Info, and select Objects in the flyout menu, you should be able to see that there are multiple paths; the latter shows the number of points in each selected object.
    If 1 + 2 do (or should it be does) not work, there are probably multiple Anchor Points at the end(s) of either/both of the paths to be joined; the surplus should be deleted.
    Or the paths may be grouped, and should be ungrouped first; that may also be seen in the Layers palette/Document info.

  • Joining Line Segments in CS6

    I am drawing a simple diamond shape made with one rectanlge shape and multiple line segments.  As I drew the design, I made sure to connect all the segments at the anchors.  When I select all of the segments and try to join the paths, the end points or corners are not smooth.  In other words, some of the line segment ends hang over the edges...  What am I doing wrong?  Thanks!
    The image below shows the left side of the diamond, where the top portion meets the bottom...

    Thank you, DayForce.  Changing the corner type to "round join" did the trick!  May I ask another question?  When I select all the segments and join the paths, I get an additional line segment from one point to another.  How can I elminiate this?

  • Problem with Pivot Table with Graph: Line Bar Combo

    Hello people!
    I have a problem with pivot table and line bar combo (all in the same view (pivot table))
    I have some measures and one dimension in my report.
    --------------measure1---measure2---measure3
    Dim A.1
    Dim A.2
    Dim A.3
    If I choose my graph line bar combo automatically choose "line" measure 3 (last measure in "Show Controls"). How can I do if I want my measure1 for line and I don't want modify my pivot table?
    Thank you very much!

    Ok, I'll explain my problem again. In my pivot table I add graph vision and I want in the same view (Pivot table). My graph is "Line Bar Combo" and I don't know how but the last of my measures belongs to right AXIS, if I change order of my measures I can see in my graph the measure that I want in my right axis BUT also it changes the order of my pivot table.
    This is my problem. I think that I can do that with different views but I lose my selector view to view graphic and my pivot table at the same time.

  • Line Segment Tool Options won't allow negative angle

    When you select an object and hit Return to bring up the Move dialog, Illustrator allows you to enter a negative rotation amount in the Angle field (e.g., -30°). This is great. However, when you select the Line Segment tool and click in the drawing area to bring up the Line Segment Tool Options dialog, the same Angle field will only accept positive numbers. Entering a negative value will cause the Angle to be zero. This is sloppy work and so easily fixed. Please change it so you can enter negative numbers in the Line Segment Tool Options dialog like you can in the Move dialog. Also, there should be a preview checkbox in the Line Segment Tool Options.

    drag.

  • Graphs- Line Type, How to change line colors

    Hi,
           Iam developing graph line type with 2 seriese by default it show two colors  i.e Blue and Green . But i need red color for one of series. I checked in edit customization also i didnt find any option to change color of line . Pls helpme...
    Thanks,
    Krishna

    ]Hi,
    I think in global settings there is a option.
    Refer this link
    [customizing graphs|https://docs.google.com/viewer?a=v&q=cache:R1LWS-t_9xcj:www.sdn.sap.com/irj/scn/index%3frid%3d/library/uuid/c0bad079-1779-2c10-a8b1-ba76854ea6d1%26overridelayout%3dtrue+&hl=en&gl=uk&pid=bl&srcid=ADGEEShZuzUOlbxrVLkMLz511amV8K8seqKtGnfF-IXzNr_BRxDiNuT1OBIa0qCjD4Juf_RXul0iXYZJJpFM7foVU3oShbhRnQcFzCT637fSf7v5Qt2jJkHAZkFnfRSFOQZsoKLuatil&sig=AHIEtbRRDGjx1OANmLwZks8AmQfUMpGISQ
    Karthik.R

  • Line Intersection retuns point instead line segment

    Hi all,
    I want to intersect two lines with the function sdo_intersection (Oracle8i).
    However, as result I get always a point instead of a line segment.
    Any suggestions ??
    Thanks Peter
    Following the Script:
    /* Table Theme2 */
    CREATE TABLE THEME2(ID     NUMBER, GEOM MDSYS.SDO_GEOMETRY);
    /* Update Metadata */
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO)
    VALUES ('THEME2', 'GEOM', MDSYS.SDO_DIM_ARRAY
    (MDSYS.SDO_DIM_ELEMENT('X', 2546727.982208079, 2629500.677188804, 0.000000050),
    MDSYS.SDO_DIM_ELEMENT('Y', 5479508.594623252, 5585930.631027042, 0.000000050) ) );
    COMMIT;
    /* Insert 2 Lines */
    insert into theme2 values (1,SDO_GEOMETRY(2002, 82015, NULL,
    SDO_ELEM_INFO_ARRAY(1, 2, 1),SDO_ORDINATE_ARRAY(
    2546727.98, 5570612.31, 2551027.86, 5558787.64, 2554252.77,
    5549112.91, 2570914.81, 5536213.27, 2580589.54, 5532988.36,
    2612569.9, 5524657.34, 2621438.4, 5512563.92, 2622782.11, 5491870.75, 2629500.68, 5479508.59))
    insert into theme2 values (2,mdsys.SDO_GEOMETRY(2002, 82015, NULL,
    mdsys.SDO_ELEM_INFO_ARRAY(1, 2, 1), mdsys.SDO_ORDINATE_ARRAY(
    2619288.46, 5585930.63, 2613913.61, 5568731.11, 2608538.76, 5550456.62,
    2599132.77, 5535675.78, 2597789.06, 5527344.76, 2577095.89, 5517938.77, 2556671.46,
    5513638.89, 2547534.21, 5509339.01))
    /* Intersect */
    select sdo_geom.sdo_intersection(b.geom,a.geom,0.05)
    from theme2 a, theme2 b
    where a.id=1 and b.id=2;
    /* result */
    TEST(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1), SDO_ORDINATE_ARRAY(2597969.08, 5528460.91))

    The two lines you've provided intersect at a single point, which is by definition not a line.
    If you want to return a line, then the intersection has to happen along some length of the line.
    Also, whenever I look at geometries posted I always run sdo_geom.validate_geometry on the
    data.
    Your user_sdo_geom_metadata should include the srid value stored in the geometries.
    The bounds of your user_sdo_geom_metadata should be a bit larger to encompass
    both geometries.
    Regards,
    Dan

  • Line chart How can i change the thickness of the graph line ?

    Hello guys,
    can i change the thickness of the graph line ?
    With kinds regards
    BlackC

    I dunno, but some CSS properties are configurable in CSS as well as code. Others it would seem, can only be set with CSS. If you find a property that does what you are looking for, I suppose you could try using that to determine the code equivalent, if there is one.

  • Bisecting a line segment with smart guides?

    Is it possible to use smart guides to place an anchor point exactly in the middle of a line segment?

    Assuming the segment is straight, Object>Path>AddAnchorPoints will add an anchorPoint at the center of the segment.
    JET

  • How to replace a line segment?

    Here's what I want to do:
    Take the selected line segment, and replace it with a series of line segments, scaled to the length of the line.
    I'm not quite sure how to go about this.  I don't see any line object relating to a path item.  All I see are anchors.  I know I can access the two anchors of the line segment that's selected, but to begin with, how to I delete the line connecting the anchors?

    Here's an image to help illustrate.  The object on the left has a line segment selected.  The script runs and removes the segment, then replaces it with the door path, scaled up to the correct width to fit:

  • Joining Multiple Line Segments

    Is there a way to join any number of line segments into one continuous line?
    The end points overlap, but selecting all and going to Object>Path>Join seems to have no effect.
    Making a compound path helps, but doesn't allow me to smooth the final path.

    Joins multiple paths at nearest endpoints while respecting existing outboard handles:
    Joins multiple paths at nearest endpoints while retracting existing outboard handles:
    The scripts are described on and downloadable from
    this page.
    JET

Maybe you are looking for

  • Iphoto won't open, error message

    I have a loaner macbook however it is brand new and I am trying to open iphoto and it won't let me.  There is an error message that states, "your iphoto library is either in use by another application, or has become unreadable.  I haven't even put an

  • Vendor address and account group

    Hi experts, could you tell me where can I find the vendor address and account group as well. So I need one table or transaction which contains all the data which I need. Thanks in advance.

  • Filter by Customer Address

    Hello, my boss recently enlisted me to fix alot of her inventory and customer issues she is having in the store. The most pressing issue is gaining the ability to run a report that displays customers within a certain area. For example, she could find

  • Changing standard font

    Hi, is there a way to permanently change the standard font default from Myriad Pro to a different font?  It is sometimes quite tedious to have to go through and change all the fonts, especially in a detailed and complex form. Thanks

  • ITunes and app store will not let me update my credit card information

    I'm trying to update my credit card information on my Mac, but iTunes won't let me. It continually states "Your credit card information does not match your bank's records itunes" but I am 100% sure I am inputting the information right (I've been doin