How to get longitude and latitude to display correct in print layout? - qgis

This is what I have so far:
My goal is to have the longitude and latitude grid lines and labels to display correctly...obviously 0-20 would not be correct labels. All my project layers were reprojected into an Albers projection, so I selected that same map projection when adding the gridlines.
This is what the final product should look like:

It appears that you have selected Centimeter as your unit instead of Map Unit for your interval. Also if your map is in a projected CRS but you want to label it in degrees you will need to set the CRS of your grid to EPSG:4326.
Which gives me the following:

Related

Can we have two data in world map series ? one for scatter map and another for geo map

I have a problem for e-chart world map. Where I am trying to make the scatter and geo map in one world map.Geo map for plotting the areas and Scatter map for showing the colored region. i.e different country will have different color or same (depend on data). So is that possible..?
I have tried to set the option for geo and scatter but it shows two map.One of Geo and other of scatter.

How to un-normalize geo points in order to plot on leaflet

Leaflet consists of multiple self worlds. General limit of latitude n longitude is -90 to +90 and -180 to +180 respectively. So for a different number of world in map area i receive {lat: 76.12621315046384, lng: 370.70826412409673}, which i normalize to the limit format and send as a param to server in order to receive points based on an algorithm. However the points that i receive are in normalized format already which will plot on the initial first map only, however i would like to plot them on that number of world on map area from which i retrieved longitude as 370.70826412409673.
I tried getting getting pane, scaleZoom, zoomScale, scale, zoom but nothing seem to work in order to get me the world number or anything that helps me de-normalize the geopoints.
You can use the function getBounds() that gives you the coordinates of the two corners of the current view and/or getCenter(). You can then change your longitude to fit this view.
An other solution is to keep the offset between the normalized and "true" coordinates, and add it back to the answer of your algorithm.

Openlayers nomenclature grid

Who can help! Need to display the coordinates in the middle of the cell of grid. I do this grid, but can not to display coordinates. At zoom this coordinates must change and display on the grid (example write on leaflet).
My grid.
https://jsfiddle.net/andrii555/setmtbsq/
This example is written on leaflet. http://nakarte.tk/#m=7/48.84664/26.58142&l=O/Ng
Thanks.

AmChart HeatMap with the same categories on value axis

I have an matrix with correlation values beetween objects and I have to show it on heat map using amchart library. I'm using this example (it's with jsfiddle) but I can't make it works to have the same values also on left axis.
Here is example what I have now, I need to have the same labels 'CAT[i]' on left axis.
How to solve it ?
You can use labelFunction to modify the labels of your value axis.
I think this should fit your needs.

How to change longitude label locations in matlab worldmap

I am trying to generate some contour plots using data in netCDF format in Matlab. I've managed to load in the data and retrieve latitude, longitude information, but got bit stuck in making the plot looks right. The thing I want to change is the locations of the longitude labels. Now they are labelled along the equator (see Fig below), making them difficult to read. I want to move them to the bottom of the plot. Please give me some clue how to control this.
Here is the block of code that I am developing that creates the plot:
latax=-89:1:89;
lonax=0:1:360;
figure
axesm('braun','MLabelParallel',-60);
worldmap([latax(1),latax(end)],[lonax(1),lonax(end)]);
hold on;
load coast;
plotm(lat,long,'k-');
where latax and lonax are the latitude and longitude vectors, respectively. I thought the line axesm('braun','MLabelParallel',-60); sets the latitudinal location for the longitude labels but it didn't seem to make any difference.
The position of these labels can be controlled with the setm command (I'm using 2015a). If your worldmap axes are defined as:
ax = worldmap([latax(1),latax(end)],[lonax(1),lonax(end)]);
to put the labels at the bottom of the plot, do
setm(ax,'mlabelparallel',-90)
the 'plabelmeridian' is the equivalent property for the latitude labels.