Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Plots overwrite

Hi!

I am just trying to show two graphs in one Scatterplot with several Plots.
One is colored red, and the other light gray.
I just Draw the light gray plot, and after that, I use another plot for the red solid line!
My problem: The red graph is not able to overwrite the light gray one. Why is this possible?
I draw always the light gray before the red plot.
 
(always with Plots[0].XYAppend  - for red and Plots[1].XYAppend for the light gray).
 
How is it possible to overwrite just the meetings between the lines with the actual plot?

Please reply soon,
Thanks, Klaus
0 Kudos
Message 1 of 4
(3,314 Views)
hello klaus,

can you post a small example, where this happens?
which version of measurement studio don you have?

regards,

robert h
NI germany
0 Kudos
Message 2 of 4
(3,285 Views)

Just two kinds of plots.   plots[0].XYAppend(....)

and

plots[1].XYAppend(...)

with two different colors!
The first I draw is light gray, and the second red.
And I always draw with XYAppend, before that I set the color to my choosen color.

Isn't there any statement in visual studio dot NET 2003 with Framework 1.1
Measurement Studio 6.5

Yours, Klaus

0 Kudos
Message 3 of 4
(3,276 Views)

Sorry, i have Measurement Studio 3.1.1 with VIsual Studio 2003.

Here is an example: (There are some gray plottet lines already on the gui_GraphSerie, and now when I draw red ones, or another gray ones, the old are the stronger, which means, that I can't see new plotted red lines if they are lying on the light gray ones).

this.gui_GraphSerie.SuspendLayout();
this.gui_GraphSerie.BeginUpdate();

ScatterPlot m_aktPlot=new ScatterPlot();
ScatterPlot messung_plot =
new ScatterPlot();

this

.gui_GraphSerie.Plots.Add(m_aktPlot);
this.gui_GraphSerie.Plots.Add(messung_plot);

m_aktPlot.LineColor=Color.Red;
messung_plot.LineColor=LightGray;

messung_plot.PlotXY(xWerte,yWerte);
m_aktPlot.PlotXY(anotherx,anothery);

this

.gui_GraphSerie.EndUpdate();
this.gui_GraphSerie.ResumeLayout();

Please reply soon!

Yours,
Klaus

 

0 Kudos
Message 4 of 4
(3,260 Views)