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

1 Ansicht (letzte 30 Tage)
Pierre Lonfat
Pierre Lonfat am 2 Mai 2018
Bearbeitet: Pierre Lonfat am 2 Mai 2018
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 Kommentare
Jan
Jan am 2 Mai 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 am 2 Mai 2018
Bearbeitet: Pierre Lonfat am 2 Mai 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by