olipals 0 Newbie Poster

Hi.

I'm making a program to plot carrier concentration as a function of semiconductor depth. The program is almost ready, the last part I'm missing is actually making the plot. I've been googling a lot and never found a simple example of how to use the plot.

My data is kept in vectors N_d and x_d, and I want to plot N_d as a function of x_d. They are both of the same length, and I have already made the widget with Qt4. This should really be a simple question, but I've been unable to find simple examples, most of them describe a lot more complex ones.

Any help is appreciated :-)