Welcome, At first I apologize for my English level.
I made a script:
fi2=input('Enter latitude (initial value:interval:final value for example. 0:20:90):');lambda2=input('Enter longitude (initial value:interval:final value for example. -180:20:180):');R=6378;fi_s2=input('Enter fi s:');fi_s=deg2rad(fi_s2);fi=deg2rad(fi2);lambda=deg2rad(lambda2);ro=[R*sin(fi_s)*cot(fi)];c=[cos(lambda)];C=ro'*c;Ct=C';round(x=Ct( : ));q=[sin(lambda)];Q=ro'*q;Qt=Q';round(y=Qt( : ));disp('X,Y coordinates:')xy=round([x,y])plot(x,y,'-x'),xlabel('Coordinate "y"')ylabel('Coordinate "x"')title('Cartographic grid ')grid on
As a result, I got this drawing:
But I need something like that:
The data I used to get the grid (first screen):
How to conect points to get lines of longitude (meridians)? At this moment I have only parallels.
Nobody in Poland can't help my. I hope you know the answer 😉
Thanks for your help.
Best Answer