Offset data sets on log-log axis?
显示 更早的评论
Hi,
I have plotted muliple data sets on a scatter plot with log log axis. However, to make the data more clear to understand I would like to offset thes data sets.
How can I do this?
Thanks!
6 个评论
Adam Danz
2019-1-23
Could you provide a screen shot of your scatter plot and describe what you mean by offsetting the data?
Hannah Boyd
2019-1-25
David Goodmanson
2019-1-25
Hi Hannah,
After you posted the plot I withdrew my answer since I realized I did not really understand the question. That puts this back in the queue of unanswered questions and makes it more noticeable to people.
Adam Danz
2019-1-25
The picture helps, Hannah. But it's still not clear how you'd like to offset the data. Do you mean you'd like to vertically shift some of the lines so there is vertical space along the y axis between the lines? That could open a can of worms. If I understood the ultimate goal I might be able to advise alternative solutions.
"Hi Adam, Yes I would like to offset in the y direction, spreading them out to make the everything clearer to see.
Thanks!"
It's not a good practice since the viewer will no longer understand the true y value of your data and the relationship between your data points. Small differences in their shape will be more difficult to see.
Here's an alternative. What if you plotted all 3 lines on 3 different subplots (so each subplot contained all 3 lines) but each subplot featured only 1 of the lines by include the markers while the other 2 lines did not contain markers.
Hannah Boyd
2019-1-30
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
