Do you have any idea/example how to build up a graph like this ?

1 visualizzazione (ultimi 30 giorni)
Dear everyone,
I would like to create a graph looking like the following:
Where the arrows would automatically move in function of the categorical result -2 -1 0 1 2.
If you have any idea or example how I could build that it would be very welcomed !
Thank you in advance,
Pierre
  2 Commenti
Jan
Jan il 2 Mag 2018
It would not be useful to post some code for an invented set of inputs, because it is very unlikely, that this matches your needs exactly. Better post the code you have already to show, in which form the inputs are available. What does "automatically move" mean exactly? Horizontally or vertically? Are the colors meaningful, e.g. the variation of the bars?
Pierre Lonfat
Pierre Lonfat il 2 Mag 2018
Modificato: Pierre Lonfat il 2 Mag 2018
Thank you Jan for your answer ! I have no code for this graph yet because I have no idea how I would build it.
The idea is to get something like that:
Today's result for equities was 1.25 corresponding to a positive insight on equities (here a + on the graph), I would like that when I have my model result (which can be 0.5/--; 0.75/-; 1/0; 1.25/+, 1.5/++) that the arrow moves automatically to the desired position. In this example my model predicts a 1.25, corresponding to a + therefore my arrow should be located as shown in the example.
Thank you very much again,
Pierre

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by