View Single Post
Philosophaie is offline
Oct23-08, 10:47 PM
P: 365
Having trouble plotting in a GUI. You have to first start with the axes command in the gui code. Then the plot. When you do the previous two actions noting comes up on the screen. The code:

for k=9:1:-1
hold on;
for o=0:2*pi:.1;
x(k) = a(k) * (1 - (ecc(k) ^ 2)) / (1 + (ecc(k) * cos(paR(k) + o))) * cos(NR(k) + paR(k) + o);
y(k) = a(k) * (1 - (ecc(k) ^ 2)) / (1 + (ecc(k) * cos(paR(k) + o))) * sin(NR(k) + paR(k) + o);

All of the equations I am trying to plot are valid, data and all, it is just I am new to plotting in a GUI. There are probably some commands I am missing. Do you have any suggestions?
Phys.Org News Partner Science news on
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language