标签: r ggplot2
我在ggplot中制作了一些带有下面颜色条图例的图表。默认情况下,图例只有4个标签显示特定颜色的值。有些主题元素可以改变颜色条的大小,但不能改变标签的数量。如何增加标签数量?
library(ggplot2) ggplot(mtcars, aes(x=mpg, y=carb, color=disp)) + geom_point(size=3) + theme(legend.key.height = unit(2,'cm'))
答案 0 :(得分:1)
您只需在public class MyFirebaseMessagingService extends FirebaseMessagingService { private static final String TAG = "MyFirebaseMsgService"; @Override public void onMessageReceived(RemoteMessage remoteMessage) { Log.d(TAG, "From: " + remoteMessage.getFrom()); } }
public class MyFirebaseMessagingService extends FirebaseMessagingService { private static final String TAG = "MyFirebaseMsgService"; @Override public void onMessageReceived(RemoteMessage remoteMessage) { Log.d(TAG, "From: " + remoteMessage.getFrom()); } }
breaks
scale_color_continous()