How do you make a 2D plot where the x-axis represents more than one variable
Show older comments
I have an expression I need to plot. It depends on k_x, k_y, and k_z. I want to plot it with the expression (an eigenvalue) on the y-axis and the vector k=(k_x, k_y, k_z) on the x-axis, where the variables along the x-axis go: (pi, 0, pi) --> (0, 0, 0) --> (0, 0, pi) --> (pi, 0, pi). I realise k_y is always zero so the expression could be simplified, but it still leaves k_x and k_z changing independently of each other. I know this can be plotted because I'm essentially trying to replicate a figure in a paper I've seen. It's figure 2 in this: https://arxiv.org/pdf/1303.5784.pdf - I hope this makes sense, Thank you
4 Comments
Star Strider
on 26 Apr 2018
‘I know this can be plotted because I'm essentially trying to replicate a figure in a paper I've seen.’
Can we see it too? That might help us figure out what you want.
Tom Hampson
on 26 Apr 2018
Star Strider
on 26 Apr 2018
Not seeing the plot image.
Tom Hampson
on 26 Apr 2018
Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!