vcs icon indicating copy to clipboard operation
vcs copied to clipboard

vector plot magnitude broken?

Open doutriaux1 opened this issue 6 years ago • 22 comments

I am using CDAT 8.0 to create plots using vcs. I'm facing two major problems while plotting.

1).On plotting a vector plot using vcs, I am not able to set the reference value of the vector in the plot. I am using the following steps to create vector. myvec = x.createvector('myvec') myvec.scale = 1 myvec.reference = 300 The plot does not show the reference value to be 300 and picks up a random number. I have tried changing the scale value also where the value changes but still shows a random number in the plot. I am attaching a plot where on bottom left corner of each plot the value of vector is provided (555.5, 266.9,496.1) while my reference value is set to 300. My question is, how is this resultant value of vector calculated and how is it controlled. As per my understanding, this number is related to setting of the reference value or scale. Please advice on what and where I am going wrong in my understanding.

2). On saving any plot created through vcs, the PDF and postscript files are getting corrupted. I am only able to save a .png file where the quality of the plot is not very good. On saving in any other format, it takes very long to create the file (almost 10 minutes) and the file looks funny with all lines formed all over the plot. Please let me know why and how to resolve this problem.

I am attaching 1 plot (.ps format) showing both the above issues mentioned. Please let me know how to solve these issues and get the desired plot.

Thanking you in advance.

doutriaux1 avatar Feb 11 '19 15:02 doutriaux1