0

I want to reverse the direction of y-axis of my plot. What should I incorporate in my code? I am attaching part of my code where the plotting action is occurring.

streamData = 
   Table[{datax[[i, n - j + 1]], datay[[i, n - j + 1]]}, {i, 1, m}, {j, 1, n}];

ListVectorPlot[streamData, 
  StreamPoints -> 250, 
  Axes -> True, 
  Frame -> False, 
  VectorPoints -> All, 
  VectorColorFunction -> "Rainbow"]
m_goldberg
  • 107,779
  • 16
  • 103
  • 257
  • Welcome! Your code is missing the definition of datax - please add that so anyone interested can reproduce your example. Take a look at https://mathematica.stackexchange.com/q/41025/131, which may already help you. – Yves Klett Jan 09 '20 at 11:05
  • I am importing some experimentally generated data files in datax. If you want to reproduce, then you will need my data files also. Your can generate any data as per your own choice and verify. – Shataneek Banerjee Jan 09 '20 at 11:48
  • 2
    It is usually very helpful (and considered good style) to provide working code. If you want to maximize your chances of getting answers, you should make doing that as easy as possible. Your specific data set might pose it´s own special challenge, too. Without working code, your question may also be closed for being incomplete. – Yves Klett Jan 09 '20 at 14:26
  • The title of the question is inconsistent with the body of the question. Are you trying to reverse both axes or just the y-axis? You should edit the question to clarify rather than just comment. – Bob Hanlon Jan 09 '20 at 15:59

0 Answers0