Create a candle chart with non financial data ?
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Teerapong Poltue
 il 2 Feb 2021
  
    
    
    
    
    Risposto: Rishik Ramena
    
 il 5 Feb 2021
            I got a set of non financial data
data = [1 2 3 4 4 4 7 15 11 13 5 15];
And I would like to plot a candle chart that start at min(data) and stop at max(data) with error bar on the top and bottom of candle with the value of std(data).
How can I do that ?
1 Commento
  Adam Danz
    
      
 il 2 Feb 2021
				
      Modificato: Adam Danz
    
      
 il 2 Feb 2021
  
			candle() with the financial toolbox.  I'm not aware of an alternative in Matlab outside of the Financial Toolbox.  You can look on the file exchange.  What you're describing can also be achieved with a combination of errorbar, patch or rectangle or fill.
Risposta accettata
  Rishik Ramena
    
 il 5 Feb 2021
        To generate a candlestick chart you have to have variables named 'Open', 'High', 'Low', and 'Close' in your data be it a Matrix, a table or a timetable. Have a look here for more info on generating candlestick charts.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Bar Plots 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!