Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.7K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Aligning the horizontal axis of a combination chart

POSTED BY: Tsai Ming-Chou
2 Replies

I know CombinePlots! However, I still need some way to separate the two charts! Until now, I did not find the related examples in the forums or documentation centers~~ But thank you a lot for your response~~~

POSTED BY: Tsai Ming-Chou
Posted 5 years ago

Maybe something like this?

ResourceFunction["CombinePlots"][
 BarChart[data[[All, 1]],
  Frame -> True,
  PlotRange -> All,
  ImageSize -> Medium],
 ListLinePlot[data[[All, 2]],
  Frame -> True,
  PlotRange -> All,
  ImageSize -> Medium],
 "AxesSides" -> "TwoY"]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard