Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Visualization
Created by Guest
Created on Apr 23, 2019

Vector Graph

A graph, similar to the 'Line Chart' or the 'Scatter Plot' Visualizations, but instead of displaying dots or lines, it will display vectors.

The need is to display vectors in a 2D space. It is possible to do it with R (see image attached) but the result is a still image. It would be a great help if it where dynamic like the other visualizations.

It is currently possible to vaguely do it using a Scatter Plot, setting the axis to the x and y coordinates, but the vector's direction is still impossible to display.

  • Attach files
  • Admin
    Niklas Amberntsson
    Reply
    |
    Apr 29, 2019

    Hi Jeremy, I see. What about using the size axis to represent the length?

  • Guest
    Reply
    |
    Apr 26, 2019

    Thank you for your quick answer Niklas, but this doesn't solve my use case.

    What I have is a data table with the columns x1, y1, x2 and y2. I need to display each row as a vector, where (x1,y1) are the coordinates of the beginning of the vector and (x2,y2) the end of the vector.

    I've tried your solution, it represents the origin and the direction perfectly, but it does nor represent the vector's magnitude (it's length).

    I tried combining your solution with the Line Connection function of the Scatter plot, but the result isn't that good (see linked image).

  • Admin
    Niklas Amberntsson
    Reply
    |
    Apr 24, 2019

    Hi Jeremy, you can set the vectors direction by the rotation axis in the scatterplot: http://docs.spotfire.cloud.tibco.com/spotfire/GUID-493C5203-43F6-4871-8BDD-7A9856BDAD13.html

    It is available in Spotfire 7.10 and later. Does this solve your use case?